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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
JohnnyFonseca
Regular Visitor

How to get two columns in legend

How can i get my item number and description to show up in my legend?

 

JohnnyFonseca_0-1686356259074.pngJohnnyFonseca_1-1686356267345.png

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @JohnnyFonseca 
Your chart has a category and a subcategory.
(You didn't attach an example dataset, so I'll use one of my files to explain everything)

Ritaf1983_0-1686364662539.png

Drilling down will show the full Legend of all hierarchy levels.

Ritaf1983_1-1686364763363.png

There are no generic settings that allow you to do otherwise and show full levels at legend from high level.
You can work around this by importing images
Here's how it works:
1. Snip your legend as shown on the subcategory and save it as a picture.
2. Import to your report:

Ritaf1983_2-1686365219122.png

3. Add to your snipped image background in the same color as your graph

Ritaf1983_3-1686365350161.png

 

4. Put it on the legend place and group it with the object:

Ritaf1983_4-1686365456376.png

The result after drilling up :

Ritaf1983_5-1686365551329.png

If you want to improve the design of the legend you also can create it on power point and import .

 

Regarding data visualization, it's important to note that
The comparison you want to make based on the data isn't possible with pie.
It's because there's no part of the whole when there are multiple parts.

. Instead, you compare their dominance percentages (parts)

My recommendation is to use matrix and conditional bar formatting to create a table graph.
Here's an example:

Ritaf1983_6-1686366077120.png

 

Link to a sample file with both examples  

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

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @JohnnyFonseca 
Your chart has a category and a subcategory.
(You didn't attach an example dataset, so I'll use one of my files to explain everything)

Ritaf1983_0-1686364662539.png

Drilling down will show the full Legend of all hierarchy levels.

Ritaf1983_1-1686364763363.png

There are no generic settings that allow you to do otherwise and show full levels at legend from high level.
You can work around this by importing images
Here's how it works:
1. Snip your legend as shown on the subcategory and save it as a picture.
2. Import to your report:

Ritaf1983_2-1686365219122.png

3. Add to your snipped image background in the same color as your graph

Ritaf1983_3-1686365350161.png

 

4. Put it on the legend place and group it with the object:

Ritaf1983_4-1686365456376.png

The result after drilling up :

Ritaf1983_5-1686365551329.png

If you want to improve the design of the legend you also can create it on power point and import .

 

Regarding data visualization, it's important to note that
The comparison you want to make based on the data isn't possible with pie.
It's because there's no part of the whole when there are multiple parts.

. Instead, you compare their dominance percentages (parts)

My recommendation is to use matrix and conditional bar formatting to create a table graph.
Here's an example:

Ritaf1983_6-1686366077120.png

 

Link to a sample file with both examples  

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

You rock! @Ritaf1983 

Wow ,which compliment ☺️🤭

Happy to help 🤓

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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