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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Dynamic legend only without axis

Is it possible to create a dynamic legend slicer? let's say we have a table with various categorical columns (State,Department etc).

I have created a dynamic visual with Date as x axis and y axis changes dynamically (Total Sales, Total Customers), currently it has legends (sales and customers). but i would like to have legends as slicer (department and state).
I have attached a picture below for better understanding.

9192gks_0-1651951574013.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

According to your statement, I think you have added two columns [Customers] and [Sales] in Value field in your visual. So your visual will show customer and sales in Legend.

RicoZhou_0-1652169765403.png

 

As far as I know, Power BI doesn't support us to add other column in Legend field when we have added multiple values in that visual. It has used column names from value field as Legend.

What's more? Currently, there are four slicers in your screenshot. So you may want to add four columns into Legend. Power BI only support us to add one column into Legend. If you still want to do that, I suggest you to only add one column, customer/ sales in value field. Then Unpivot [Handing Department],[Status],[Duplicate],[Category] fours columns in Power Query Editor.

RicoZhou_1-1652170539961.png

Then add the new column into Legend.

RicoZhou_0-1652170526942.png

 

Best Regards,
Rico Zhou

 

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

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

According to your statement, I think you have added two columns [Customers] and [Sales] in Value field in your visual. So your visual will show customer and sales in Legend.

RicoZhou_0-1652169765403.png

 

As far as I know, Power BI doesn't support us to add other column in Legend field when we have added multiple values in that visual. It has used column names from value field as Legend.

What's more? Currently, there are four slicers in your screenshot. So you may want to add four columns into Legend. Power BI only support us to add one column into Legend. If you still want to do that, I suggest you to only add one column, customer/ sales in value field. Then Unpivot [Handing Department],[Status],[Duplicate],[Category] fours columns in Power Query Editor.

RicoZhou_1-1652170539961.png

Then add the new column into Legend.

RicoZhou_0-1652170526942.png

 

Best Regards,
Rico Zhou

 

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

Anonymous
Not applicable

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors