Join 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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have Project cost data for Month 1 and Month 2 in a single table.
I have a table visual with a Column [Project Name] and a Measure [forecastVariance].
My calculation for the [forecastVariance] Measure is:
forecastVariance =
VAR Month1 = MIN(Plan[Period])
VAR Month2 = MAX(Plan[Period])
VAR SUM_Month1 = CALCULATE(SUM(Plan[ForecastTotal]),FILTER(Plan,Plan[Period]=Month1))
VAR SUM_Month2 = CALCULATE(SUM(Plan[ForecastTotal]),FILTER(Plan,Plan[Period]=Month2))
Return
SUM_ Month1 - SUM_Month2
To list only the Projects where the Forecast has increased, I have a filter on the table visual of [forecastVariance] Measure is < 0.
This works perfectly well in a Table or Matrix visual as above, however my problem is that I need the total value from the table/ matrix above (i.e. -10.8m) as a measure. This is so that I can refer to the total value dynamically within a text visual, e.g. Text = “The sum of all Forecast Increases is “ & [Measure].
Is this achievable and if so, with which function(s)?
Thanks
Solved! Go to Solution.
@wmcintosh You *should* just be able to use the measure just like you reference assuming that there are no filters acting on the text visual. Otherwise, you can potentially do this:
forecastVariance All = CALCULATE([forecastVariance], ALL('Plan'))
@wmcintosh You *should* just be able to use the measure just like you reference assuming that there are no filters acting on the text visual. Otherwise, you can potentially do this:
forecastVariance All = CALCULATE([forecastVariance], ALL('Plan'))
I do have filters but the above worked once I replicated the Filter before the All. Perfect, thanks @Greg_Deckler!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!