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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
malkha
Regular Visitor

Measure Total not correct

 

why isnt this measure below totalling correctly?my cummlative formula works fine until it hits december. where December is the forecast data. As you can see on the table on the right. i have the correct value showing fore forecast but total is incorrect.

 

Untitled.png

 

3 REPLIES 3
az38
Community Champion
Community Champion

Hi @malkha 

try to use IF(CALCULATE(SUM(....)), statement

 

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
malkha
Regular Visitor

i am not sure if i am typing your equasion wrong, but i am still yeilding the same total. @az38 

 

Untitled.png

 

az38
Community Champion
Community Champion

@malkha 

what result do you expect in total row? it should be sum of all rows or logic IF should be implemented on whole data massive?

also, you could try smth like that

Measure = 
sumx('Fcst Vs Actuals'; 
if(calculate(sum('Fcst Vs Actuals'[Capital_Actuals]))=0;
calculate(sum('Fcst Vs Actuals'[Capital_Forecast]));
calculate(sum('Fcst Vs Actuals'[Capital_Actuals]))))

 

do not hesitate to give a kudo to useful posts and mark solutions as solution

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.