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
Anonymous
Not applicable

IF Statement not showing actual result

Showing incorrect category in if statement calculated column, my formula is:

 

Column_POR = IF('PMMT Data'[POR]>=300000, "Above 300k", "Below 300k")
 

Laedays_0-1632379493374.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You are using sum in the visual.

Capture.PNG

Yet the category is calculated by each single row in the table.

So you will need to calculate the sum first then create category.

 

Best Regards,

Jay

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

 

You are using sum in the visual.

Capture.PNG

Yet the category is calculated by each single row in the table.

So you will need to calculate the sum first then create category.

 

Best Regards,

Jay

Greg_Deckler
Community Champion
Community Champion

@Anonymous What is POR? Just a column, a measure or ?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

A calculated column for POR 

 

 

@Anonymous I can't replicate this, are you able to share your PBIX?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

hey @Greg_Deckler sorry for the late response, 

 

this is the attached pbix

 

https://www.dropbox.com/s/qd14m37oe68db27/sampledata.pbix?dl=0

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