Forum Discussion
Visualization - Line chart with cumulative numbers!
- 5 years ago
Hi manicktvs91 ,
You could try measure like below:
Measure = CALCULATE(SUM('Table'[complaints ]),FILTER(ALL('Table'),COUNTROWS(FILTER('Table',EARLIER('Table'[Year_week])<='Table'[Year_week]))))Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
manicktvs91 There are running total quick measures but the general pattern is using something like:
Measure =
VAR __Date = MAX('Table'[Date])
RETURN
SUMX(FILTER(ALL('Table'),[Date] <= __Date),[Column])
You didn't provide any detail, so hard to be specific. Here's the standard "more info" macro:
Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
- manicktvs915 years agoNew Member
Greg_Deckler Thank you for the reply. I am trying your method. Is there an option to upload my pbix file here so that you can have a look?
- Greg_Deckler5 years agoCommunity Champion
manicktvs91 Super users can post PBIX files but otherwise you would need to post on OneDrive/Box and share a link