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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.