Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Experts,
How I can Create a Running SUM LINE Chart with Week Number on X AXIS and Value on Y AXIS with Following Data. I Need a Formula which I can apply to my Similar Big Data set.
Thanks in Advance
Deepak
WEEK Number | Value |
1 | 174 |
2 | 294 |
3 | 118 |
4 | 222 |
5 | 399 |
6 | 126 |
7 | 110 |
8 | 164 |
9 | 69 |
10 | 131 |
11 | 262 |
12 | 149 |
13 | 337 |
14 | 188 |
15 | 315 |
Solved! Go to Solution.
Hi @drrai66,
My solution does exactly that. What problem are you facing when downloading my file?
Hi,
Assuming your financial year end is 31/12, try my solution here.
Hi Ashish,
Actually, I could not access your Solution. Can you provide the formula. As you can see in the following view, I have the weekly values per week in Line graph, so now I want to accumulate them the way you showed me in previous reply. so that values get added up and I get an Increasing Trend. I have got these values by COUNTING and not SUMMING. I have to do COUNTING to get these values per week and then do a Running sum of them.
Thanks for Help again
Deepak
But I need above chart to be like this which I have in Tableau
Hi @drrai66,
My solution does exactly that. What problem are you facing when downloading my file?
Hi Ashish
For some reasons when we click the link first time it wont work (in chrome) ... Again you click the same link it works ... I tested twice by closing chrome browser and reclicked the link ...
just FYI. Not that your file is problem, the download link wont show up first time and refresh or clicking the same link it shows 🙂
Thanks
Hi Ashish,
Got it finally...
Thanks a lot
Deepak
You are welcome.
On a (non) related topic, check this link. The November 2017 update has this built-in feature ... https://powerbi.microsoft.com/en-us/desktop/?WT.mc_id=Blog_Desktop_Update
In the options, enable quick measures & restart power bi. Add new quick measure, running total ...
Thanks
Hi Sevenhills,
Thanks a lot for this..I am still a newbie to Power BI, but you showed me how to do it. I could get it.
Appreciate
Thanks
Deepak
What about a measure like (just replace the table name):
Running Sum = VAR WeekNum = MAX('YourTable'[WEEK Number]) RETURN Calculate( SUM('YourTable'[Value]), ALL('YourTable'), 'YourTable'[WEEK Number] <= WeekNum )
EDIT: Now just put this on a Line graph with this measure as the value, and week number as the Axis.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
146 | |
85 | |
66 | |
52 | |
48 |
User | Count |
---|---|
215 | |
90 | |
83 | |
67 | |
59 |