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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
SemG
Advocate I
Advocate I

If statements are evaluating wrongly

I have an IF statement in a calculated column of a calculated table that evaluates wrongly. See example below. How can this happen?

 

image.png

3 REPLIES 3
v-qiuyu-msft
Community Support
Community Support

Hi @SemG,

 

In your scenario, which aggregation do you set for the [Boete Totaal] in the visual? Assume it's SUM, then you need to create a measure like: 

 

Measure= IF(SUM([Boete Totaal]) =100, "100","200")

 

Best Regards,
Qiuyun Yu 

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

Hi Qiuyun Yu,

 

Thanks for answering. I am using calculated columns and I am adding multiple calculated columns with the + operator. I am not using aggregations.

 

Best regards,

SemG

 

Hi @SemG,

 

I mean you can check if you have set aggregation for [Boete Totaal] in the visual like below: 

 

q3.PNG 

 

If it's SUM, then please try to create a measure like mentioned in my previous post. If issue persists, please share the pbix file with us. 

 

Best Regards,
Qiuyun Yu 

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

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.

Top Solution Authors