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
Hi,
We have below calculated measures in direct query model. Currently the variance is showing negative values for future dates. Can someone help how can we make the future dates variance values to 0. TIA.
Solved! Go to Solution.
@kumsha1 , Try measure
if(isblank([M1]), blank(), [M1] -[M2])
or
Sumx(values(Table[Date]), if(isblank([M1]), blank(), [M1] -[M2]) )
@kumsha1 You can create a measure like below:
Measure = If(Sum(Table[M1])=BLANK(),0,Sum(Table[M1]-Table[M2])
Hi @amitchandak , i changed the calc to show 0, so the line grapgh can show future dates when just variance is used.
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!