Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi all,
I'm trying to built a cumulative line chart for gwp by date but up to now I haven't made it
I use this measure
I also tried the quick measure in pwoer bi for running total but no luck
My data table looks like this. It has repeating date values so I don't know if this
causes the problem
Could you help please?
Solved! Go to Solution.
Most of the time this is caused by a hidden sort column that you forgot to include.
Try
@ObdidianMagne Yeah, why you shouldn't use CALCULATE or really any of the default quick measures. There are better ways. Better Running Total - Microsoft Fabric Community.
Here's a playlist: https://www.youtube.com/playlist?list=PLoibEIc7heYNZbnY4CTCtg2tjEcMh8WbZ
And the main video you need.
Hi,
Create a Calendar table with calculated column formulas for Year, Quarter, Month name and Month number. Sort the Month name column by the Month number. Create a relationship (many to One and Single) from the Date column of your Data Table to the Date column of the Calendar Table. To your line chart visual, drag Year, Quarter and Month name columns from the Calendar Table. Write these measures
Total = SUM('ΝΒ_pivot_CY'[gwp])
Running total = calculate([Total],datesbetween(calendar[date],minx(all(calendar),calendar[date]),max(calendar[date])))
Hope this helps.
Hi,
Create a Calendar table with calculated column formulas for Year, Quarter, Month name and Month number. Sort the Month name column by the Month number. Create a relationship (many to One and Single) from the Date column of your Data Table to the Date column of the Calendar Table. To your line chart visual, drag Year, Quarter and Month name columns from the Calendar Table. Write these measures
Total = SUM('ΝΒ_pivot_CY'[gwp])
Running total = calculate([Total],datesbetween(calendar[date],minx(all(calendar),calendar[date]),max(calendar[date])))
Hope this helps.
@ObdidianMagne Yeah, why you shouldn't use CALCULATE or really any of the default quick measures. There are better ways. Better Running Total - Microsoft Fabric Community.
Here's a playlist: https://www.youtube.com/playlist?list=PLoibEIc7heYNZbnY4CTCtg2tjEcMh8WbZ
And the main video you need.
Most of the time this is caused by a hidden sort column that you forgot to include.
Try
User | Count |
---|---|
84 | |
80 | |
69 | |
46 | |
46 |
User | Count |
---|---|
106 | |
45 | |
42 | |
39 | |
39 |