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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
danielllin
Helper I
Helper I

how to avoid axis of chart combine same value?

Hi,

 

i can't describe whole question in subject, so i use this example to explain.

on the right side, in this data, both of emp0004 and emp0008 are Daniell

two of them are different person but have same name

if i use bar chart, how can i avoid emp_name combine automatically?

or how can i use emp_id as y-axis, but shows emp_name value instead of emp_id?擷取2.PNG

 

 

 

Thanks in advance!

2 ACCEPTED SOLUTIONS

Thanks for replying.

I can't use white box to cover id, because length of id are dynamic in different company,

but first step is considerable, it's almost same effect as creating a new column to combine id & name, i will use this method if there are no other better and proper way. 

View solution in original post

@danielllin,

I  think that the best approach is to create a calculated column to combine emp_id and emp_name.

Regards,
Lydia

Community Support Team _ Lydia Zhang
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

5 REPLIES 5
MattAllington
Community Champion
Community Champion

Maybe a bit of a hack, but try putting both Id and name on the axis, then drill down using the button to maintain hierarchy (the 3rd button moving left to right on the top left corner of the chart, the one with the horizontal bar above the down arrows). Then hide the ids under a white box



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Thanks for replying.

I can't use white box to cover id, because length of id are dynamic in different company,

but first step is considerable, it's almost same effect as creating a new column to combine id & name, i will use this method if there are no other better and proper way. 

@danielllin,

I  think that the best approach is to create a calculated column to combine emp_id and emp_name.

Regards,
Lydia

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

I see, thanks!

Has anyone found a correct (non-hack) method of doing this in Power BI? Our customer Id's are sensative and absolutely cannot be concatenated to their values, but we don't want to automatically "group" equal values.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.