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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
fergalom
Frequent Visitor

WhatIf Parameter & Measures

Using a what if parameter to see the effect additional budget would have on a project.

 

BUDGET+Additonal = 'WhatIf BUDGET'[WhatIf BUDGET Value]+sum('sage_project'[TOTAL_BUDGET])

 

Also have a Line/Stacked Column chart which displays month by month costs as bars and cumulative costs and budget as lines

 

Cumulative measure for BUDGET+Additonal is:

BUDGET+Additonal total for Date =

CALCULATE([BUDGET+Additonal], FILTER(ALLSELECTED('DateTable'[Date]),ISONORAFTER('DateTable'[Date], MAX('DateTable'[Date]), DESC)))

 

My issue is this measure ignores the date filter on the page and displays a line across 10 years rather than relevant years.

How can I adjust the measure to ignore the Whatif BUDGET Value oustside the filtered dates?

 

First pic below is the problem, last is how it should look normally

 

image.pngimage.png

 

2 REPLIES 2
jthomson
Solution Sage
Solution Sage

Could you not add a visual level filter for the last twelve months?

Already using a Timeline date filter visual (as some projects 3 years, some 6 months etc) on the report, only 'WhatIf BUDGET'[WhatIf BUDGET Value] ignores this filter unlike the other values.

 

Perhaps because the Whatif BUDGET has no relationship to the date table?

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.