Frequently Asked | Scenario to calculate RUNNING TOTAL | Power BI Interview

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ธ.ค. 2024

ความคิดเห็น •

  • @lookingforbusiness5662
    @lookingforbusiness5662 ปีที่แล้ว +8

    Running Total =
    var slicer = SELECTEDVALUE('Date'[year])
    var Total = CALCULATE(SUM(financials[COGS]),'Date'[year]

    • @sreevigneshsree1913
      @sreevigneshsree1913 7 วันที่ผ่านมา

      running total =
      CALCULATE(
      SUM(
      fact_trips[fare_amount]),
      dim_date[date]

  • @rajatdixit11
    @rajatdixit11 2 ปีที่แล้ว +4

    Excellent real-time based scenario explained in such simple way! Love your work..Keep going like this.

  • @hellboygamng.874
    @hellboygamng.874 2 ปีที่แล้ว +5

    can you please make videos on dax ? I'm falling in love with your content. No bakwas, to the point, Crisp and clear and also easy to grab. Thanks so much !

    • @learnwidgiggs
      @learnwidgiggs  2 ปีที่แล้ว

      plz watch this playlist on DAX videos: th-cam.com/play/PLk-s1KYuT-PnTC_JnuLsZvCnhdUgd5puZ.html

    • @hellboygamng.874
      @hellboygamng.874 2 ปีที่แล้ว

      Completed . Actually asking about tutorial series and concept based as well. If possible please make videos on that.

    • @learnwidgiggs
      @learnwidgiggs  2 ปีที่แล้ว

      ok, will plan

    • @hellboygamng.874
      @hellboygamng.874 2 ปีที่แล้ว

      Thanks so much!

  • @manjunathangadi5992
    @manjunathangadi5992 หลายเดือนก่อน

    We could also use datesinperiod function right?

  • @Regans5677
    @Regans5677 ปีที่แล้ว

    Thanks a lot for this DAX,after im tried alot but with single dax my output came same as you given,i tried for different data to calculate cummulative.its workout for all.thanks a lot for your knowledge and hardwork.

  • @vaibhavwani3922
    @vaibhavwani3922 6 หลายเดือนก่อน

    I've data related to actuals and forecast values. Wanted to calculate cumulative total where actual and forecast values will show but on same line. I've columns where it is showing status of values as actual n forecast. And that line should identify actual n forecast with different colour

  • @hardikthakkar3331
    @hardikthakkar3331 2 ปีที่แล้ว +2

    TotalYTD function will also do the same job

    • @learnwidgiggs
      @learnwidgiggs  2 ปีที่แล้ว

      It would work here but if you will go to a lower granularity, it won't.

    • @madhusudhanreddyt2838
      @madhusudhanreddyt2838 2 ปีที่แล้ว +1

      Totalytd function is also going to do the same job but it is going to calculate upto that year last date...for the next year it is going to reset...if you want to calculate the cumulative total for the year to date then we can go with totalytd function

  • @themightyvk
    @themightyvk ปีที่แล้ว +1

    CALCULATE([Total_Sales],CalendarDate[Date]

  • @vinodkumarhs4000
    @vinodkumarhs4000 ปีที่แล้ว

    Will try tomorrow for my working purpose

  • @nandinireddy2455
    @nandinireddy2455 2 ปีที่แล้ว

    Then how does max function work here for the current filter context.. we are considering the entire calendar date table right.. max(date) From entire table would return last available year right

  • @themightyvk
    @themightyvk ปีที่แล้ว

    Could you provide any link to all, all expect and all selected tutorial

  • @sathyamanohar1894
    @sathyamanohar1894 2 ปีที่แล้ว +1

    We can use datesytd or totalytd also right to calculate running total ?

    • @learnwidgiggs
      @learnwidgiggs  2 ปีที่แล้ว

      But that would be specific to Year wise, will not be dynamic I believe.

  • @syedabaduruunnisa3099
    @syedabaduruunnisa3099 2 ปีที่แล้ว +1

    We can use dateinperiod dax function also right

    • @learnwidgiggs
      @learnwidgiggs  2 ปีที่แล้ว

      I don't think it will work here

  • @Abeer_777
    @Abeer_777 7 หลายเดือนก่อน

    Hi, your video is helpful but you should provide data set as well for practice

  • @virtuallyapplied3275
    @virtuallyapplied3275 7 หลายเดือนก่อน +1

    can we use TotalYTD(),TotalMTD(),TotalQTD() for thi s?

  • @AshishAnand-ry1kt
    @AshishAnand-ry1kt 5 หลายเดือนก่อน

    datesinperios will work??? if not then why??

  • @sourabhpatel3834
    @sourabhpatel3834 ปีที่แล้ว +1

    Why are you not using directly
    =CALCULATE ([Total Sales] , dimdate [date]

    • @learnwidgiggs
      @learnwidgiggs  ปีที่แล้ว

      Performance of the DAX query will not be good.

    • @sourabhpatel3834
      @sourabhpatel3834 ปีที่แล้ว

      @@learnwidgiggs but using filter will consume more time naa?

    • @learnwidgiggs
      @learnwidgiggs  ปีที่แล้ว

      @@sourabhpatel3834 no

  • @gprstex
    @gprstex ปีที่แล้ว +1

    Date Name Sales
    1-Jul a 200
    1-Jul c 200
    2-Jul a 100
    2-Jul b 200
    2-Jul c 200
    3-Jul b 100
    3-Jul c 200
    4-Jul a 200
    4-Jul c 100
    5-Jul a 200
    5-Jul b 100
    5-Jul c 200
    I have this simple table, here total of sales is 2000, so I want to keep 2000 value unchanged when I select a, b, or c through slicer. As a example if I select "a" the value given is 1700, because it is not taking 3-July total value for final calculation, Pls help me

    • @HUs1620
      @HUs1620 5 หลายเดือนก่อน

      exactly the same solution I am after

  • @Chidu-Goudru
    @Chidu-Goudru 2 ปีที่แล้ว +1

    Thank you bro...iwithout year running total how will calculate bro

  • @Travel.is_fun
    @Travel.is_fun 9 หลายเดือนก่อน

    Need a video on bookmarks - Data,Display,All Visuals,current page, selected visuals usage in real life.

  • @JayeshTatipamul
    @JayeshTatipamul ปีที่แล้ว

    Very Useful Video. Thanks for sharing.

  • @abhishekbagul3873
    @abhishekbagul3873 ปีที่แล้ว +1

    Sir , as a power bi developer, will SSIS require or not for the interview point of view?

    • @learnwidgiggs
      @learnwidgiggs  ปีที่แล้ว

      Mostly not asked in the interview but required in the job description so one can put on resume

  • @anweshkp6231
    @anweshkp6231 ปีที่แล้ว

    All(Calendar_table) should have ignored year filter context and returned all dates for all years correct?
    It should be 2665 for every year.
    I know I'm wrong but that's how I understood All function, please explain me where I'm wrong.

  • @kousralakkireddy943
    @kousralakkireddy943 ปีที่แล้ว

    We can achieve this by using totalytd also

  • @nagavenisiri4370
    @nagavenisiri4370 2 ปีที่แล้ว +1

    @LearnWidGiggs bhai iam completely by bcom and having 6 years of experience in US Healthcare
    Can we move into power bi with atleast 3 years of experience in total of 6 years.

  • @longliveindia1637
    @longliveindia1637 2 ปีที่แล้ว +1

    Bhai b.a gradute hu 8 saal ka experience hai non it ka agar power bi ssekhta hu toh interview call aaeyenge b.a barrier toh nahi hoga

    • @learnwidgiggs
      @learnwidgiggs  2 ปีที่แล้ว

      Nhi hoga, mere hisaab se.

    • @longliveindia1637
      @longliveindia1637 2 ปีที่แล้ว

      @@learnwidgiggs power bi ke saath sql bgi zaruri hai

    • @learnwidgiggs
      @learnwidgiggs  2 ปีที่แล้ว

      haa bilkul

    • @longliveindia1637
      @longliveindia1637 2 ปีที่แล้ว

      @@learnwidgiggs aap class provide karate ho power bi aur sql ki with prictical knokedge

    • @learnwidgiggs
      @learnwidgiggs  2 ปีที่แล้ว

      As of now, nhi

  • @meghalohar2367
    @meghalohar2367 4 หลายเดือนก่อน

    helpful

  • @bablu5785
    @bablu5785 ปีที่แล้ว +1

    Can we use total ytd function here?

    • @learnwidgiggs
      @learnwidgiggs  ปีที่แล้ว

      In the discussed scenario, it should also work.

    • @bablu5785
      @bablu5785 ปีที่แล้ว

      @@learnwidgiggs discussed scnerio?

  • @ArchnaVijay
    @ArchnaVijay 2 ปีที่แล้ว

    new subscriber

  • @LittleKrishna17218
    @LittleKrishna17218 2 ปีที่แล้ว

    all videos are very useful
    thanks for this
    for this, i used a different method
    i think this will also work
    VAR SelectedYear = MAX(CalendarDim[Date])
    RETURN
    CALCULATE(SUM(Fact[Sales]),CalendarDim[Date]

    • @learnwidgiggs
      @learnwidgiggs  2 ปีที่แล้ว

      Yes it should work but its not an optimized way

  • @nagavenisiri4370
    @nagavenisiri4370 2 ปีที่แล้ว +2

    @LearnWidGiggs bhai iam completely by bcom and having 6 years of experience in US Healthcare
    Can we move into power bi with atleast 3 years of experience in total of 6 years.