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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
PBI5851
Helper V
Helper V

If not working. as expected

Here is the raw data 

ClientMarketOrderedShippedTM
Client1Market15010TM1
Client2Market11010TM1
Client1Market23015TM2

 

One measure as 

MeasCounts =
    IF(sum('Table1'[Shipped]) <= 18, 1,0)
But the display i get is PBI5851_0-1695439908378.png

 

Shouldn't TM2 get 1 since their sum of shipped is less than 18 . 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @PBI5851 
Your formula is correct.
I prepared PBIX with your data and the same formula, please download and check what did you differently.

Link to pbix 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
PBI5851
Helper V
Helper V

i am so dumb. i had the formula created for a column , rather than a measure. 

All of us make these mistakes sometimes 🙂

Glad to help 🙂

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Ritaf1983
Super User
Super User

Hi @PBI5851 
Your formula is correct.
I prepared PBIX with your data and the same formula, please download and check what did you differently.

Link to pbix 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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
Top Kudoed Authors