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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

If an entry in a row is blank (null) can I set a default value?

I have a table that has one column that sometimes has blank (null entries). Sorry for blocking out a lot of the entries in the table but I don't want to share private data which is understandable I hope. However, as you can see below, (where the red arrow is) there are two blank entries in the bottom two rows in the Technician column. How would I be able to set that to a default string called "Unassigned"?

KyleAdam_1-1612457801846.png

So instead of it coming up Blank in my analytics, as you can see below, it will show up "Unassigned" instead of the purple being blank? 

 

KyleAdam_2-1612458147069.png

 

I know there are some things you can change for visuals on the Analytics screen, but I can't change it on this one when it comes to being legend values, it won't allow me. That would be a simple solution if that could somehow be done but I've looked into it and saw no solution, unless I haven't looked hard enough?

Any help would be appreciated. 

 

 

 

1 ACCEPTED SOLUTION
Tahreem24
Super User
Super User

You can create below Column:

New Column = If( Table [Technician] = blank(), "Unassigned", Table[Technician]) 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

View solution in original post

5 REPLIES 5
dlew
Frequent Visitor

Is it better to do this as a measure?

Tahreem24
Super User
Super User

You can create below Column:

New Column = If( Table [Technician] = blank(), "Unassigned", Table[Technician]) 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

Thanks for the reply, when I tried to create a new custom column it said the if statement wasn't recognised?

KyleAdam_0-1612459990200.png

 

Do create that mentioned column using DAX not in Power Query. 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

Thank you! Works a charm. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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