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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.