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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
AW1976NOVA
Post Patron
Post Patron

Is there a way to hide the data label on a bar chart and replace it with the value of something else

Hi,

 

I have a bar chart where I am plotting Time Durations.  I've converted my time durations to decimals and this allows me to plot them on the chart.  However, I would like to have the data labels on the bar chart be of the tooltip I created.

 

For example, here is my current bar chart:

 

Capture.PNG

 

I'd like to replace the data lable from the decimal (8.48) to the tooltip value I've managed to create using created measures.  Here is an example of the tooltip when hovering over the bar chart:

 

Capture 2.PNG

 

I want to replace the 8.48 data lable on the bar chart with the tooltip value of 08:29.  Is this possible?

 

Working with time durations is very painful in Power BI.  I really wish they would develop an easier way for user to interact with time durations.  We've been asking for this for years.

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @AW1976NOVA,

Please take a look at the below document about custom formatting string on power bi fields if helps:

Use custom format strings in Power BI Desktop - Power BI | Microsoft Docs
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @AW1976NOVA,

Please take a look at the below document about custom formatting string on power bi fields if helps:

Use custom format strings in Power BI Desktop - Power BI | Microsoft Docs
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

@AW1976NOVA , usually we create clustered line visual and show line label and make line color same as the background. If need we can remove the secondary y-axis for that

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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