Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have a table which contains certain values per month. I've created a stacked bar chart to show these values and a slicer with the month names so I can select the month and see the corresponding value for that specific month. If I select more than one month, though, the chart shows the sum for the months selected. I want it to show the average instead: if I select January, February and March, for example, I want the chart to show the average of the values for the quarter, and not the sum of them. How is it possible to achieve this result? Thanks in advance.
Solved! Go to Solution.
Hi @Anonymous
The easiest way is to change the setting to Average
Also, you can create a measure to calculate average of selected values.
For example, you can use function AVERAGE()
Measure = AVERAGE('Table'[value])
or calculate the count of selected months, then calculate the total of related values, finally use divide(total,count).
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
The easiest way is to change the setting to Average
Also, you can create a measure to calculate average of selected values.
For example, you can use function AVERAGE()
Measure = AVERAGE('Table'[value])
or calculate the count of selected months, then calculate the total of related values, finally use divide(total,count).
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.