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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

Data label - end of line - name of the legend (category)

Hi,
I am trying to make a line chart splited on multiple categories and months.
At the end of each line I would like to label the line with the name of the category.

 

This is an example of what I want to obtain at the end.

 

Can you please help me with how can I do this?

 

cat.PNG

 

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

In line chart, you can enable Legend function under Format to set its position, name and so on while the legend name could not be shown at the end of each line.

When you enable Data label function under Format, it will just show the value of each group and you can change their position and fomats.

legend.pngdata label.pngresult.png

 

For further information about Line chart, you can refer the following Microsoft document:

https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-line-chart

 

Best Regards,

Yingjie Li

 

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
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

In line chart, you can enable Legend function under Format to set its position, name and so on while the legend name could not be shown at the end of each line.

When you enable Data label function under Format, it will just show the value of each group and you can change their position and fomats.

legend.pngdata label.pngresult.png

 

For further information about Line chart, you can refer the following Microsoft document:

https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-line-chart

 

Best Regards,

Yingjie Li

 

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

 

Anonymous
Not applicable

It would be realy nice to add this "end of line label" as a feature. Tableau has it and it makes my life easier 🙂

 

Agreed!  This seems like it should be an easy win!

Hi @Anonymous ,

Thanks for your suggestion!

You can submit it to ideas and add your comments there to make this feature coming sooner: https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

Best Regards,

Yingjie Li

 

Anonymous
Not applicable

Thanks @v-yingjl ... My chart has 5 categories and it's not easy to search for each color aside.
Anyway, I have made a simple color scheme to bea easier for the users to find the corect line 🙂

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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