Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
I have built a graph of running totals for different metrics, however for the lines with null values, they are including in the running total and just showing up as straight lines. How would I fix this?
Solved! Go to Solution.
Try it
IF([2016-1 Cash Collections]=0,"",
CALCULATE(
[2016-1 Cash Collections],
FILTER(
ALLSELECTED('Power BI Data'[MOB]),
ISONORAFTER(
'Power BI Data'[MOB],
MAX('Power BI Data'[MOB]),
DESC)
)
)
)
show us the measure created for this values.
CALCULATE(
[2016-1 Cash Collections],
FILTER(
ALLSELECTED('Power BI Data'[MOB]),
ISONORAFTER('Power BI Data'[MOB], MAX('Power BI Data'[MOB]), DESC)
)150000
This is my running total metric that i plot
Try it
IF([2016-1 Cash Collections]=0,"",
CALCULATE(
[2016-1 Cash Collections],
FILTER(
ALLSELECTED('Power BI Data'[MOB]),
ISONORAFTER(
'Power BI Data'[MOB],
MAX('Power BI Data'[MOB]),
DESC)
)
)
)
Apologies, I entered the formula in wrong. This is correct thank you!
good to know... If you should please give me a positive feedback ...thanks
This did not work
Yes, the line is still showing
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 29 | |
| 26 |