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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
wonka1234
Helper III
Helper III

Is there a way to show data labels value or title for 1 point only ?

Hi,

 

Is there a way to display my data labels value or title only once? Other then just make a card i want to see if it can be done using data labels option.

 

Ie this is my line

wonka1234_0-1753464781502.png

 

 

and i want to add value and label to only 1 data point (not all 3).

 

wonka1234_2-1753464830101.png

 

I only want to show it once

 

thanks.

 

1 ACCEPTED SOLUTION
kushanNa
Super User
Super User

Hi @wonka1234 

 

If you need to get only one data point, you will need to create a measure and ask it to return the value for that single data point, then display it as another line point.

 

kushanNa_0-1753705703727.png

 

please find the example attached below 

 

Thank you @V-yubandi-msft for your PBIX file. Since I was a bit too lazy to create a new one, I used your sample file data to modify 😄

View solution in original post

12 REPLIES 12
kushanNa
Super User
Super User

Hi @wonka1234 

 

If you need to get only one data point, you will need to create a measure and ask it to return the value for that single data point, then display it as another line point.

 

kushanNa_0-1753705703727.png

 

please find the example attached below 

 

Thank you @V-yubandi-msft for your PBIX file. Since I was a bit too lazy to create a new one, I used your sample file data to modify 😄

@kushanNa  only issue is that i cant hide the 2nd line from the legend 😞 and for seom reson my line is displayed as .40 and not 40%

Oh, if you don't want to click on the legend, you can just hide it and use an image of the legend without the second line

how did you get it to display 40% instead of .40?

click on the measure and click on the percentage icon 

kushanNa_0-1753718526646.png

 

thanks! if i wanted to add text to it ie "KPI 40%" can that be done in the measure?

Yes, you can use Dynamic format String 

 

Click on the measure and select format> Dynamic 

 

kushanNa_0-1753723285152.png

 

and copy and past the following code 

 

"KPI #,0%"

 

output should look like this 

kushanNa_1-1753723343138.png

 

thanks. what if i need to show decimals? My % is showing 3 but the actual value should be 2.5%

change the code to following 

"KPI #,0.0%"
V-yubandi-msft
Community Support
Community Support

Hi @wonka1234 ,

Thank you for reaching out to the Fabric Community. I’ve attached a .pbix file based on your requirement. When you get a chance, please review it and let me know if any changes are needed.

 

Vyubandimsft_0-1753691749308.png

 

The dashed line represents the 40% KPI target.

 

Warm regards,
Yugandhar

HarishKM
Memorable Member
Memorable Member

@wonka1234 Hey,
As per your available data. I have implemented similer ask for my report. Adding image for your reference.

HarishKM_0-1753465838178.png


to Implement above. Kindly follow below steps

1) Create your desired visual

2) Click add further analysis to your visual in format painter ribbon on right side

3) Add X or Y as per your selected visual

4) Change line color to your desired color

5) turn on data label for the same.

 

Thanks

Harish KM

If above step's solved your problem. Kudos will be highly apprieciated. Accept this as solution as well

@HarishKM  i am doing a line and stacked chart. So I already have the y axis line in the build visual view.

 

its tricky to do - if i remove the "column y axis" line and try to use the futher analysis, i am not sure which number to input. My numbers are Percantages. Ie I want the line to be at 40%.

 

here is my photo using "column y axis" line - 

wonka1234_0-1753468492234.png

 

 

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.