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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
PowerrrBrrr
Helper III
Helper III

How to rename Legend values for a Visual

I have  a line chart and have a column which is added as Legend. I would like to rename the Legend values something more meaningful in the visual. How can I do it? For example when I add my column ID  in Legend Field in Line chart. I get 

ID
UU272652
22577IIU

 

I would like to replace these two values of ID as 
ID
Rate by Speed
Rate By Distance.

How can I do it?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @PowerrrBrrr ,

 

You can create a new table as follows.

vstephenmsft_0-1643188342833.png

 

Then create a relationship between two tables.

vstephenmsft_2-1643188407182.png

vstephenmsft_3-1643188416404.png

 

Then you can replace the Legend field in the original view with the new one.

vstephenmsft_5-1643188465440.png

 

You can check more details from the attachment.

 

 

Best Regards,

Stephen Tao

 

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 @PowerrrBrrr ,

 

You can create a new table as follows.

vstephenmsft_0-1643188342833.png

 

Then create a relationship between two tables.

vstephenmsft_2-1643188407182.png

vstephenmsft_3-1643188416404.png

 

Then you can replace the Legend field in the original view with the new one.

vstephenmsft_5-1643188465440.png

 

You can check more details from the attachment.

 

 

Best Regards,

Stephen Tao

 

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

 

 

Fowmy
Super User
Super User

@PowerrrBrrr 

You cannot rename in the visual, What you can do is to add another column in the table with the required names that need to show up in the visual then add it as a legend. 

You can also add it in Power Query using Add conditional Column

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors