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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Show data label only to one line

Hello

 

As attached below, I want to know if is it possible to show data labels only for one line in a line chart ?

What I can do is just changing the form or adding markers but data labels when activated are showed for all lines.

 

gra.jpggra2.jpgThanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous - You can accomplish this by doing the following:

1. Creating a separate measure for each item in your legend, like calculate(<measure>, <legendtable>[legendcolumn] = "legend value")

2.  Remove the legend and the current measure from the line chart.

3. Add all of the measures to the line chart.

4. Then Data Labels will have the Customize Series option.

View solution in original post

7 REPLIES 7
v-danhe-msft
Employee
Employee

Hi @Anonymous ,

Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered to close this topic?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-danhe-msft
Employee
Employee

Hi @Anonymous ,

Based on my researc, I am afraid you could not achieve this feature currently, you do could refer to natelpeterson's solution, also you could submit an idea in ideas forum:

https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@Anonymous  - Yes, you can, by doing using Customize Series. It will allow you to format each line individually:

 

Line Chart different lines.PNG


@Anonymous wrote:

@Anonymous  - Yes, you can, by doing using Customize Series. It will allow you to format each line individually:

 

Line Chart different lines.PNG



This solution worked for me.  Thanks.

Anonymous
Not applicable

This is a bit of a hack but you can make a copy of the graph so you have two identical graphs (make sure both the x and y axis are fixed to the same min/max). On one graph remove all of the lines you don't want to display the data and turn data labels on for this graph. On the second graph remove all of the lines you do want with data. If you then overlay them then you'll have the desigered effect.

Anonymous
Not applicable

@Anonymous I want to show data labels not change shapes, I didn't find customize series below labels 

 

label.JPG

Anonymous
Not applicable

@Anonymous - You can accomplish this by doing the following:

1. Creating a separate measure for each item in your legend, like calculate(<measure>, <legendtable>[legendcolumn] = "legend value")

2.  Remove the legend and the current measure from the line chart.

3. Add all of the measures to the line chart.

4. Then Data Labels will have the Customize Series option.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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