Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We'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

Reply
Anonymous
Not applicable

Filter and stopping line chart at today

Hello,

 

I'm using a running total to graph actual vs forecast. Forecast extends to mid 2020 and the actual should stop at today. My running total column has a second filter depending on if the cell is blank or not.

 

I've been using this link to stop the actual line but it is not working and giving me a value of zero rather than the measures true value

https://community.powerbi.com/t5/Desktop/Forecasts-for-year-and-actuals-for-ytd-only/td-p/825702

 

Thanks for your help

 

1 ACCEPTED SOLUTION

hi, @Anonymous 

You may try to remove ALLSELECTED(Calendar[Date]) in the formula

Actuals Running Total YTD = IF(LASTDATE(Calendar[Date])>=TODAY(), BLANK(), CALCULATE([Existing Measure], ALLSELECTED(Calendar[Date])))

Actuals Running Total YTD =
IF ( LASTDATE ( Calendar[Date] ) >= TODAY (), BLANK (), [Existing Measure] )

 If not your case, please share a simple sample pbix file and your expected output.

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Broken Totals Chart.PNG

The actual YTD is now stopping at the correct spot but not actually curving

hi, @Anonymous 

You may try to remove ALLSELECTED(Calendar[Date]) in the formula

Actuals Running Total YTD = IF(LASTDATE(Calendar[Date])>=TODAY(), BLANK(), CALCULATE([Existing Measure], ALLSELECTED(Calendar[Date])))

Actuals Running Total YTD =
IF ( LASTDATE ( Calendar[Date] ) >= TODAY (), BLANK (), [Existing Measure] )

 If not your case, please share a simple sample pbix file and your expected output.

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This worked for me.  Thank you.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.