Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am attempting to calculate the average itmes sold across different rows (hierarchy) of a matrix table to then compare to the actual number sold for each month and identify through conditional formating months where the number of items sold were above the average.
Example:
Calulate the average sold per month for 'Site A' (44/12 = 3.67) to then be able to identify the months where 'Site A' sales was above the average.
Then calculate the average sold per month for area 'Blue' (next level of the hierarchy) and identify the months where 'Blue' area items sold were above the average.
Thanks
Solved! Go to Solution.
@AJW2023 , Assuming you only want to change grand total
First, create a measure
M1= Sum(Table[Number sold])
Then create and use this measure
m2= Averagex(Values(Table[Month]), [M1])
@AJW2023 , Assuming you only want to change grand total
First, create a measure
M1= Sum(Table[Number sold])
Then create and use this measure
m2= Averagex(Values(Table[Month]), [M1])
Thats @amitchandak . That has calculated the averages for each of the rows as I was hoping.
Any ideas how to then compare each months total per cagegory and display if it is greater than the average using conditional formating?
For example for "Site A" the average is 3.67 therefore the months where the number sold were greater than the average = January, Feburary, May, July, August and September and highlight these values Red
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
10 | |
6 |