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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ZachUnger
Helper II
Helper II

Conditional column not selecting nulls

Hi Team 

 

I'm trying to create the below conditional column but it is giving me the below error. 

"[Expression.Error] We cannot convert the value null to type Logical."

ZachUnger_0-1708908856042.png

Does anyone know how I can get around this to show all blanks/null as CAO's? 

 

Thanks 

Zach 

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

you need to first compare to null and then to the rest

Screenshot_1.png

View solution in original post

1 REPLY 1
Ahmedx
Super User
Super User

you need to first compare to null and then to the rest

Screenshot_1.png

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.