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
mn75224
Frequent Visitor

If statement not working correctly

See below picture: 

I do not want -99 to be returned. I would like the value for the 8/1/2023 TRIR column to be returned. in this case (0.91).

mn75224_0-1692211735688.png

 

1 REPLY 1
Syk
Super User
Super User

If statement is working correctly. It's looking to see if the month is = 12, IF IT IS then give TRIR YTD, IF NOT then give -99. I think you just have your ending arguments mixed up

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