The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Thanks
Solved! Go to Solution.
@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.
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
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
@Anonymous - Yes, you can, by doing using Customize Series. It will allow you to format each line individually:
@Anonymous wrote:@Anonymous - Yes, you can, by doing using Customize Series. It will allow you to format each line individually:
This solution worked for me. Thanks.
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 I want to show data labels not change shapes, I didn't find customize series below labels
@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.