The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi.
Hi.
How do I make a cumulative line chart? I tried to do the "running totals" in quick measurement but it shows me a incorrect visual perhaps I used the wrong measurements.
I would like to have a rising line so e.g. 06/09/2022 has a total of 4 and not 1.
Best regards,
Lisa
Hi @Anonymous ,
try this measure
RT =
VAR CurrentDate= SELECTEDVALUE (Date[Date] )
RETURN
CALCULATE (
[Your Measure],
Date[Date]<= CurrentDate
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Create a measure with help from date table and use that in line, where date on axis will be from date table
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date])))
or
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
Running Total/ Cumulative: https://www.youtube.com/watch?v=h2wsO332LUo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=41
But what if my values is not numeric? It is not a sales value but the occurrence of different categories.
Can I still use the same equation?
Hi @Anonymous
Thanks for reaching out to us.
Just need to make small changes to the code, you can share some sample data then I'll change the code to suit your needs.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
116 | |
81 | |
81 | |
48 | |
41 |
User | Count |
---|---|
149 | |
110 | |
66 | |
64 | |
56 |