Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
All,
I am attempting calculate a running total. I am able to calculate the running total, but graphing the data is not showing the results I would like to see. Which formula should I use to show running total? Thanks
If I use TOTALYTD, is does not include prior year data and current year data.
Install Base = TOtalYTD(COUNTROWS('BI Sequel Installed Instruments'),DateDimension[DateKey])
If i use calculate function it shows the total number for each qtr instead of incremental growth.
Install Base = CALCULATE(COUNTROWS('BI Sequel Installed Instruments'),DateDimension[DateKey])
Solved! Go to Solution.
Hey,
I guess here you find what you are looking for
http://www.daxpatterns.com/cumulative-total/
Hope this helps
Hey,
I guess here you find what you are looking for
http://www.daxpatterns.com/cumulative-total/
Hope this helps
Hi @leroy773
pls try something like this:
Install Base YTD = VAR vYear = YEAR(MAX(DateDimension[DateKey])) VAR CurrDateKey = MAX(DateDimension[DateKey] RETURN CALCULATE( COUNTROWS('BI Sequel Installed Instruments'), ALL(DateDimension), DateDimension[Year] = vYear, DateDimension[DateKey] <= CurrDateKey )
HTH,
Frank
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |