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
hamadani
Frequent Visitor

Replace (Blank) when Merging Two Tables

Hi,

 

I have two tables as follows:

 

Table 1

Case Id          Case Name
1A
2B
3C
4D
5E
6F
7G


Table 2

Case Id                 Stage
1Stage I
2Stage I
4Stage II
5Stage III

 

I have created a releationship between these two tables based on "Case Id" and trying to visulaise the number of customers in Table 1 based on stages in Table 2. So, what I want and get for my "Table" visualisation is below: 

 

Stage              # Cases
Stage I2
Stage II1
Stage III1
(Blank)3

 

I am now trying to replace the (Blank) in the above visulisation to something else (like "Registered Only"). However, I cannot find a way to do that in Power BI and would be grateful if someone can help me on this please.

 

Thank you

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,
I would recommend doing a full outer join and using this in power query to fill the blanks with what you desire.

Column = IF(ISBLANK([Column]),0,[Column)

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi,
I would recommend doing a full outer join and using this in power query to fill the blanks with what you desire.

Column = IF(ISBLANK([Column]),0,[Column)

 

Greg_Deckler
Community Champion
Community Champion

@hamadani You will need a disconnected table (no relationships) containing Stage I, Stage II, Stage III and Registered Only as rows. You would then construct a measure to calculate accordingly.

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks @Greg_Deckler . Do you mean, I need to create a third table with Stage names only? Please note the "Registered Only" is not one of the current stage names in Table 2 and the blanks (which I want to replace its name to Registered Only in my visualisation), only appear after creating a relationship between Table 1 and 2 (which I require that relationship for other purposes too)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.