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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
LBRo
New Member

How can I rename blanks in a graph that displays values for related and not related records?

Hello!

 

I have 2 tables related by ID. Table 1, has groups A, B, and C. Table 1 has IDs from 1 to 5, while Table 2 has IDs from 1 to 10. Not all Table 1 IDs are in Table 2. When I create a chart with values from Table 2 and the classification from Table 1, there's a bar that appears blank for the non-related IDs. How can I change the name on the X-axis to display A, B, C, and "Not in a group" 

LBRo_0-1705119826756.png

 

I would like to create this chart without excluding the blanks but renaming them.

LBRo_1-1705119904614.png

 

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @LBRo 

You can add a calculated column :

Group = LOOKUPVALUE(Groups[Group],[Id],[ID],"Others")
And use it on the graph
Ritaf1983_0-1705131350943.pngRitaf1983_1-1705131389308.png

pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Yi

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
LBRo
New Member

Thanks! it worked out. 

Same idea but using the data model and COALESCE

 

lbendlin_0-1705185837890.png

 

Ritaf1983
Super User
Super User

Hi @LBRo 

You can add a calculated column :

Group = LOOKUPVALUE(Groups[Group],[Id],[ID],"Others")
And use it on the graph
Ritaf1983_0-1705131350943.pngRitaf1983_1-1705131389308.png

pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Yi

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.