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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Need Help in changing (null) to unknown

Hi Team,

I have a column where in the UI i am getting values as (Blank) but when i see in the query editor in the data it is showing me as (null) , I have to replace that with Unknown , I have tried replacing the vlaues by these options 

empty to unknown 

null to unknown 

(null) to unknown

but the value doesn't changes 

even i used this in new column, its not working

Column =     if (   isblank( 'Incidents' [Province]),  "Unspecifed" ,   'Incidents' [Province])

But still not working 

please kindly help

Thanks & regards

Shiv Kumar

 

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

If you use a conditional statement in a Power Query, first of all, the symbol of your expression is incorrect. You can change it to:

vyalanwumsft_0-1651564323693.png

vyalanwumsft_1-1651564512136.png

You could try it.


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

4 REPLIES 4
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

Is your problem solved? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

If you use a conditional statement in a Power Query, first of all, the symbol of your expression is incorrect. You can change it to:

vyalanwumsft_0-1651564323693.png

vyalanwumsft_1-1651564512136.png

You could try it.


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@Anonymous , in power query replace you can use all small cap null

 

Power Query Replace Value: https://youtu.be/hkZhZbR7Kmk

 

check if that empty space

 

Column = if ( isblank( 'Incidents' [Province]) || 'Incidents' [Province] = "" , "Unspecifed" , 'Incidents' [Province])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi Amit , @amitchandak 

I did replace it most of the options but it didn't replaced , 

On the 2nd option 
I am getting an error 
if ( isblank([Final Classification] = "", "Unknown" , [Final Classification]) for this calculation 
Error : Token RightParen Expected.
Thanks & Regards

Shiv kumar

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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