This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I am trying to create a stacked graph of a running total, but I am having great problems.
What i am trying to get is a graph like this:
but i am getting this:
I have a sample PBIX file here:
Grateful if someone can help me please
Solved! Go to Solution.
Hi @timknox ,
Please try this:
Create a new date table:
Date = CALENDARAUTO()
Create a measure:
Running Total =
CALCULATE(
SUM(Sheet1[Value]),FILTER(ALL('Date'),'Date'[Date]<=MAX('Date'[Date])))
@timknox , try a measure like
CALCULATE(
SUM(Sheet1[Value]),FILTER(ALL(Sheet1),Sheet1[Date]<=MAX(Sheet1[Date])))
In case you want all only date. Move that to a separate table or use date table
CALCULATE(
SUM(Sheet1[Value]),FILTER(ALL(DAte),DAte[Date]<=MAX(DAte[Date])))
Hi @timknox ,
Please try this:
Create a new date table:
Date = CALENDARAUTO()
Create a measure:
Running Total =
CALCULATE(
SUM(Sheet1[Value]),FILTER(ALL('Date'),'Date'[Date]<=MAX('Date'[Date])))
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 33 | |
| 26 | |
| 23 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 43 | |
| 28 | |
| 24 | |
| 22 |