Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi all
I want to create a running total chart for project planning showing the amount of work my team has done compared to budget. I have used the running total quick measure and have a date table.
However, the charts I've created show a flat line for the future. The easiest to show with a picture:
I want to be rid of the flat horizontal lines in this. Should I change my measure or is there a way to do this with the chart itself?
The measure formula is as follows:
value_scheduled running total in Month_Year =
CALCULATE(
SUM('timesheets 16-04 to 18-03'[value_scheduled]),
FILTER(
ALLSELECTED('Dates'[Month_Year]),
ISONORAFTER('Dates'[Month_Year], MAX('Dates'[Month_Year]), DESC)
)
)
Data Here:
Solved! Go to Solution.
Hi,
Try this for value_scheduled running total in Month_Year
=if(ISBLANK(SUM('timesheets 16-04 to 18-03'[value_scheduled])),BLANK(),CALCULATE(
SUM('timesheets 16-04 to 18-03'[value_scheduled]),
FILTER(
ALLSELECTED('Dates'[Month_Year]),
ISONORAFTER('Dates'[Month_Year], MAX('Dates'[Month_Year]), DESC)
)
))Try this forvalue_worked running total in Month_Year
=if(ISBLANK(SUM('timesheets 16-04 to 18-03'[value_worked])),BLANK(),CALCULATE(
SUM('timesheets 16-04 to 18-03'[value_worked]),
FILTER(
ALLSELECTED('Dates'[Month_Year]),
ISONORAFTER('Dates'[Month_Year], MAX('Dates'[Month_Year]), DESC)
)
))
Hi,
Share the download link of your file.
Hi - do you mean the link to the data that I'm using, etc?
Thanks,
Sam
Yes. The download link of your .pbix file.
It contains commerically sensitive information. Is it standard to share all of the data one is working on?
Dummy the dataset.
Edited and added above.
Hi,
Try this for value_scheduled running total in Month_Year
=if(ISBLANK(SUM('timesheets 16-04 to 18-03'[value_scheduled])),BLANK(),CALCULATE(
SUM('timesheets 16-04 to 18-03'[value_scheduled]),
FILTER(
ALLSELECTED('Dates'[Month_Year]),
ISONORAFTER('Dates'[Month_Year], MAX('Dates'[Month_Year]), DESC)
)
))Try this forvalue_worked running total in Month_Year
=if(ISBLANK(SUM('timesheets 16-04 to 18-03'[value_worked])),BLANK(),CALCULATE(
SUM('timesheets 16-04 to 18-03'[value_worked]),
FILTER(
ALLSELECTED('Dates'[Month_Year]),
ISONORAFTER('Dates'[Month_Year], MAX('Dates'[Month_Year]), DESC)
)
))
Perfect thanks - works an absolute charm.
Hi,
If my reply helped, please mark it as Answer.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 64 | |
| 39 | |
| 33 | |
| 23 |