Power BI DAX Tutorial (9/50) - What is DateAdd Function

Sdílet
Vložit
  • čas přidán 15. 07. 2020
  • What is DATEADD function in DAX in Power BI, When to use DateAdd function in power BI, What is relative date function in power bi, Power BI DAX Tutorial with Examples
    DatasourceLink
    drive.google.com/file/d/1lTaf...
    #powerbi #powerbidax #DATEADD
    🏬 Visit our Amazon Influencer Store 🏬 : www.amazon.in/shop/analyticsw...
    ✉ Business Queries / Analytics Consulting ✉ : analyticswithnags@gmail.com
    💬 For Learners Post queries and Interact 💬 : t.me/analyticswithnags
    Complete Playlists
    Power BI Tutorials - Complete Playlist 📚📖 • How to do Power BI Ins...
    Power BI Desktop Tips and Tricks 📚📖 • How to Remove Top N ro...
    Power BI DAX - Complete Playlist 📚📖 • What is DAX in Power B...
    Power BI Project Dashboards - Power BI Realtime Projects - Playlist 📚📖 • Loan disbursement Anal...
    Power Pivot 📚📖 • Power BI Tutorial (15/...
    Power Query 📚📖 • Power BI Tutorial (15/...
    Power BI Services Playlist 📚📖 • Introduction to Power ...
    Power BI Tamil Tutorials 📚📖 • How to do Power BI Ins...
    Power BI Telugu Tutorials 📚📖 • How to do Power BI Ins...
    SQL Full Course | SQL Tutorial For Beginners 📚📖 • Learn SQL Complete | C...
    SSAS Tutorials - SQL Server Analysis Services 📚📖 • Introduction to SQL Se...
    MSBI Tutorials - SQL + SSAS + SSIS 📚📖 • Learn SQL Complete | C...
    Data Analyst - Complete Reference - Playlist 📚📖 • Data Analytics For Beg...
    BI Developer - Complete Reference - Playlist
    📚📖 • Power BI Tutorial From...
    BI Architect - Complete Reference - Playlist
    📚📖 • Power BI Full Course -...
    ETL Developer - Complete Reference - Playlist 📚📖 • Building an Enterprise...
    Database Developer - Complete Reference - Playlist 📚📖 • SQL Tutorial - Full Da...
  • Věda a technologie

Komentáře • 40

  • @ravishankar-ly1yg
    @ravishankar-ly1yg Před rokem +4

    I guess u are giving ur Teaching Free of cost ,some people are charging so much for Powerbi just for Nothing
    YOU ARE A REAL JEMS - proud to be ur student
    one again very much thankyou Sir

  • @Idgaf-1998
    @Idgaf-1998 Před rokem +5

    you're an exceptional teacher. may god bless you.

  • @shruthishree5785
    @shruthishree5785 Před 3 lety +1

    Well explained sir.. Thankyou..

  • @karthikkora917
    @karthikkora917 Před 2 lety +1

    I have a doubt, since the requirement is to compare current year sales(2019 acc to the data) with the business starting year (2016), the interval in the dateadd function should be -3 ?

  • @eswarkumar8458
    @eswarkumar8458 Před 2 lety +1

    excellent session

  • @pranithashetty9841
    @pranithashetty9841 Před 2 lety +1

    As you have added -2 years we can only compare 2018 with 2016. For other years we need to change the formula manually. can you kindly explain how to achieve this dynamically? Is there any dax function with which we can achieve this ?

  • @vishal45chauhan
    @vishal45chauhan Před 2 lety +1

    Hello, thanks for sharing your knowledge. Can we achieve the same funcanality by user's input. I mean to say, when the user selects the multiple years using filters this will compare the sales on year then month as per user's input. Not just last month's comparison.

    • @AnalyticswithNags
      @AnalyticswithNags  Před 2 lety

      That requires some more Dax , I will make a dedicated video highlighting the scenario

  • @kevdo6333
    @kevdo6333 Před 10 měsíci +1

    Thanks

  • @kiran4059
    @kiran4059 Před 3 lety +1

    thanks for this video as unable to ans Dateadd function in my last intervw it was cleared now. can u please do a video on custom visuals. which are commonly used..and refresh data from onedrive in PowerBI service..

    • @AnalyticswithNags
      @AnalyticswithNags  Před 3 lety +2

      Follow other videos in Dax playlist. You can able to clear your next interview.
      All the best.

  • @davidcarter1354
    @davidcarter1354 Před rokem +1

    Very useful. Thank you.
    Can you show how this would work for fiscal periods where actual period flows over into the next month?

    • @AnalyticswithNags
      @AnalyticswithNags  Před rokem

      Thanks keep learning share this channel with friends and colleagues

  • @chinnapureddysivanagireddy3824

    could you please confirm dateadd and parallelperiod functions does same?

  • @rajarshimaity6838
    @rajarshimaity6838 Před 2 lety +1

    Hello, could you please explain how to calculate dynamically the min of year in powerbi.

    • @AnalyticswithNags
      @AnalyticswithNags  Před 2 lety

      Use min function

    • @rajarshimaity6838
      @rajarshimaity6838 Před 2 lety

      @@AnalyticswithNags Hello,
      Thank You for the guidance.
      i tried with the MIN function but it seems only min didnt help me out that much. i used Tableau LOD concept and used allexcept. i did the trick. When i plotted it in a bar chart 2016 was single bar but 2017, 2018, 2019 had two bars one for that year sales and the other bar was 2016 sales (which is my Minimum year sales).

  • @siddheshdandagavhal9804

    To compare with data with past data: Ex - Compare current sales with sales 2 years ago
    2 Years Ago = Calculate(sum(Sales[Sales Amount]), DATEADD(DimDate[Date].[Date], -2, YEAR))

  • @manjeetkaur9343
    @manjeetkaur9343 Před 2 lety +1

    How to do this if we dont consider Sunday in date range with dateadd

  • @keithwong8144
    @keithwong8144 Před rokem +1

    in summary , can i say that the DateAdd function is more flexible as compared to the other time intelligence function?

  • @sanketthakkar721
    @sanketthakkar721 Před 2 lety +1

    Sir, basically Instead of LASTYear or LASTmonth or Lastqtr, we can use Dateadd with simple understanding and comfortably. Am i correct?

    • @AnalyticswithNags
      @AnalyticswithNags  Před 2 lety +1

      No. It is because some year have 365 days leap year has 366 days.
      Also months have 30,31,28,29 days so last year , last month will handle these gaps automatically.

    • @sanketthakkar721
      @sanketthakkar721 Před 2 lety +1

      Right 🙏

  • @user-tz7sr7mn9c
    @user-tz7sr7mn9c Před rokem

    can u pls share dimdate table source link

    • @AnalyticswithNags
      @AnalyticswithNags  Před 9 měsíci

      we dont maintain , prepare your own file like the one shown , with your own sample data.

  • @santhoshyachamm
    @santhoshyachamm Před 2 lety +1

    In v13 data set no sales table

  • @ruchikachauhan9311
    @ruchikachauhan9311 Před 4 lety

    could you please provide excel data with every video