How to use PREVIOUSDAY, PREVIOUSMONTH, PREVIOUSQUARTER, PREVIOUSYEAR // Beginners Guide to Power BI

Поділитися
Вставка
  • Опубліковано 11 вер 2024
  • In this video we go through how you can write the DAX functions PREVIOUSDAY, PREVIOUSMONTH, PREVIOUSQUARTER, PREVIOUSYEAR. We go through it step by step, and also an example of when to use them.
    -
    🚩 Support us to get perks such as demo files, early access and more!
    / solutionsabroad
    MY FAVOURITE POWER BI BOOKS
    📕 The Definitive Guide to DAX - amzn.to/3ruYs2f
    📗 DAX Patterns - amzn.to/3oVgOYs
    MY GEAR
    🎥 Canon 4000D DSLR Camera - amzn.to/3tCqDOw
    💻 Cyberpower Wyvern PC - amzn.to/3q04QOw
    🪑 Infamous Gaming Chair - amzn.to/3q3iUXw
    💡 LED Studio Lighting - amzn.to/3q3ftQz
    🎙 Lavalier Microphone - amzn.to/3jwKutG
    📺 Monitor - amzn.to/2LuHhhO
    GET IN TOUCH
    📺 Website - www.solutionsabroad.co.uk
    📧 Email me - fernan@solutionsabroad.co.uk
    🤵 LinkedIn - / solutionsabroad
    📘 Facebook - / solutionsabroad
    📸 Instagram - / solutions_abroad
    🐤 Twitter - / abroadsolutions
    🤖 Reddit - / fernanespejo
    🌍 WHO IS SOLUTIONS ABROAD
    Hi, my name is Fernan, the one-man band of Solutions Abroad. I work as a Data Scientist based in London, UK and have over 6 years of experience working in Business Intelligence. Solutions Abroad these days is dedicated to teaching the ins and outs of Power BI, through the power of UA-cam.
    If you want to learn more, I’ve conveniently created playlists to help you find the right topic for you.
    🐎 First, watch this video about how a typical Power BI workflow looks like
    • Power BI from START to...
    🗺 Learn DAX to extend your Power BI calculations
    • Power BI DAX Basics OLD
    📆 Stay up-to-date on all the features Power BI releases monthly
    • Power BI Monthly Featu...
    🧪 Get certified as a Microsoft Data Analyst Associate
    • Power BI DA 100 Prepar...
    💡 Learn Power BI Features to improve your dashboards
    • Power BI Feature Highl...
    📊 WHAT IS POWER BI?
    Power BI is a business analytics tool by Microsoft. It creates a working environment suited for normal users, meaning tasks such as data extraction, cleansing, analysis and storytelling; these are made easily-accessible to citizen-users, and extendable for technical users. At face value it provides visually-stunning, interactive dashboards, but it’s built on top of so much more.
    🔻 Get started with Power BI Desktop for FREE
    powerbi.micros...
    #PowerBI #DataAnalytics #BusinessIntelligence

КОМЕНТАРІ • 23

  • @ilmirakerdman1911
    @ilmirakerdman1911 2 роки тому +1

    Thank you! The best explanation!!!

  • @bandaralqahtani4356
    @bandaralqahtani4356 2 роки тому +1

    amazing like always!!
    thank you

    • @SolutionsAbroad
      @SolutionsAbroad  2 роки тому

      You're welcome Bandar, and thanks for watching!

  • @thamilanban
    @thamilanban Рік тому

    Thank you

  • @jinggao6875
    @jinggao6875 2 роки тому +1

    Thanks for sharing! What is the formula for Headcount calculation you use, please?

    • @SolutionsAbroad
      @SolutionsAbroad  2 роки тому

      Hey there, here it is: ua-cam.com/video/0u9yF7lKGW0/v-deo.html at around 5:00

  • @Unbox747
    @Unbox747 7 місяців тому

    Is there a way to build previousmonth in a measure instead of a table you showed? Like this measure will always return the previous month? Don't want to hard code previous month by naming the month either. Want it to be dynamic, is this possible

  • @matthewshotton86
    @matthewshotton86 2 роки тому

    Great video - do you know how is best to exclude working days from his? I'm current tracking changes daily and get a -100% when using this method

  • @Orlandolover01
    @Orlandolover01 8 місяців тому

    can you please make a video on retention? rolling 12 months, 90 day, 180 days, 365 days.

  • @RS-to6sp
    @RS-to6sp 2 місяці тому

    how dax to make first month or year is zero (0) exp : when we start in jan24, feb24, mar24 so on the provious month in Jan is 0 (not diff from Dec 23). thank

  • @dineshmaurya7884
    @dineshmaurya7884 5 місяців тому

    What's the difference between SAMEPERIODLASTYEAR and PREVIOUSYEAR Dax?

  • @saurabh1812
    @saurabh1812 Рік тому +1

    Sir thanks
    Can you tell me difference between dateadd and previousyear

    • @SolutionsAbroad
      @SolutionsAbroad  Рік тому +1

      Well dateadd allows you to change the intervals like quarters, months, or days, whereas previousyear will only always give you previousyear

  • @shivugv5485
    @shivugv5485 Рік тому

    What is the Headcount measure here without that we cant proceed

  • @sandhyaviswanathan9696
    @sandhyaviswanathan9696 Рік тому +1

    is calendar name of your table that has the date

  • @gregday6378
    @gregday6378 2 роки тому

    Hi, great video as always. Any idea why previous quarter might provide a blank value? I have a working current quarter equation... I'm so confused

    • @wmbp97
      @wmbp97 Рік тому

      Did you ever find a solution? I'm having the same problem.

    • @adstander5682
      @adstander5682 Рік тому

      Perhaps you will have to add the year as a separate column to the calendar table.

    • @toluakande6870
      @toluakande6870 4 місяці тому

      Thank you,it worked 💃💃😂