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
Nexter
Advocate III
Advocate III

Total Labels Not Showing Average

I have a number which is an average, and the totals are correctly shown in a table, but not when showing it in a bar visual and turning on total labels. With the total labels, it refuses to take the average and instead sums it.

 

In the attached picture you can see the table is showing 6.7% and 6.5% and is then showing the correct average of 3.0% (the denominator increases a lot when adding these together), however the total label in the visual shows a total of 13.1% (which is the sum of the two percentages).

 

Anyone have any ideas on how to get the total to reflect the true average? Thanks!

Image.PNG

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @Nexter ,

 

You can't configure total value in stacked bar chart, you can submit your ideas on Power BI ideas.

 

Or you can turn off the total values and create a measure for tooltips of this visual.

Measure = calculate(average('table'[values]),allselected(table[month]))

The results can be shown when the user hovers the mouse over them.

 

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@Nexter , if you are using total feature of stacked bar visual, That will be sum

 

Create stacked line visual, Switch off secondary y-axis. Show label for line and Under shape reduce line width to 0

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.