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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Fabrice_Windus
Regular Visitor

Combo Chart: switching line label values does not work

I want to add data values in a table format at the bottom of a bar chart, using a combo chart (line and stacked column chart). To do that, I created some measures with fixed values like -1, -2, ... and added them to the line section of the combo chart.

Then, I want to change the label of these lines to show the corresponding value instead of -1, -2, ...

So I went into data labels, selected the line and changed the value to a measure which returns the value to be shown. The result? Power BI still shows -1 instead of the label measure value. I checked this using a measure TEST = 1 and this is the result:

Fabrice_Windus_0-1748339964901.png

 

Here is what I selected in the visual settings:

Fabrice_Windus_1-1748340013801.png

 

When I change the visual to a line chart, the label is shown correctly, so this seems to be a bug with the combo charts. Does anyone know a workaround? Thank you!

1 ACCEPTED SOLUTION
burakkaragoz
Community Champion
Community Champion

Hi @Fabrice_Windus ,

 

Yep, this is a known quirk with combo charts in Power BI — the line data labels don’t always respect dynamic measure values when combined with columns. It works fine in a standalone line chart, but combo visuals can behave differently due to rendering priorities.

Here’s a workaround you can try:

  1. Instead of using fixed values like -1, create a measure that returns the actual value you want to show, but only under certain conditions. For example:
   LineLabel = IF(SELECTEDVALUE('YourTable'[Category]) = "X", [YourActualMeasure], BLANK())
  1. Add this measure to the line values section.
  2. In the Data labels settings, make sure:
    • Data label is turned on
    • Value is set to "Value from field" and you select your dynamic measure
  3. If it still doesn’t work, try switching the chart type to line chart, set the label, then switch back to combo — sometimes this forces the visual to refresh correctly.

If none of that works, you might consider using a custom visual like Deneb or Charticulator for more control over label rendering.

Let me know if you want help building a sample measure or visual config.

If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
translation and formatting supported by AI

View solution in original post

3 REPLIES 3
v-menakakota
Community Support
Community Support

Hi @Fabrice_Windus ,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If the response has addressed your query, please accept it as a solution so that other community members can find it easily. 

 
Best Regards, 
Menaka.
Community Support Team

v-menakakota
Community Support
Community Support

Hi  @Fabrice_Windus  ,
Thanks for reaching out to the Microsoft fabric community forum. 

I would also take a moment to thank @burakkaragoz , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference. 

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Best Regards, 
Menaka.
Community Support Team 

burakkaragoz
Community Champion
Community Champion

Hi @Fabrice_Windus ,

 

Yep, this is a known quirk with combo charts in Power BI — the line data labels don’t always respect dynamic measure values when combined with columns. It works fine in a standalone line chart, but combo visuals can behave differently due to rendering priorities.

Here’s a workaround you can try:

  1. Instead of using fixed values like -1, create a measure that returns the actual value you want to show, but only under certain conditions. For example:
   LineLabel = IF(SELECTEDVALUE('YourTable'[Category]) = "X", [YourActualMeasure], BLANK())
  1. Add this measure to the line values section.
  2. In the Data labels settings, make sure:
    • Data label is turned on
    • Value is set to "Value from field" and you select your dynamic measure
  3. If it still doesn’t work, try switching the chart type to line chart, set the label, then switch back to combo — sometimes this forces the visual to refresh correctly.

If none of that works, you might consider using a custom visual like Deneb or Charticulator for more control over label rendering.

Let me know if you want help building a sample measure or visual config.

If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
translation and formatting supported by AI

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors