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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
dgilm33
Helper I
Helper I

How to show "Unknown" instead of blanks

Hello, I've searched for similiar questions, but so far I haven't found an anwser to this.

 

I have two tables, say Table 1 and Table 2, where Table 1 has a 1-to-Many relationship to Table 2 and the tables have the values listed in the snippet. In Power Bi I want to use column 1 from Table 1 and the values from Table 2, however when I do Power Bi shows the column that doesn't match as "(Blank)". How can I have Power Bi show this as "Unknown" or something besides blank?

dgilm33_0-1682368940229.png

 

1 REPLY 1
DOLEARY85
Super User
Super User

Hi,

 

you can either do this with:

 

COALESCE(Your column/measure,"Unknown")
 
or 
 
if(isblank(your colum/measure),"unknown",Your column/measure)
 
if your using a column use a calculated column for the DAX formula if it's a measure use a measure for the DAX calculation
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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