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
Hi!
Earlier I asked about how I could calculate an average above several categories in a line plot. I used the DAX syntax:
New measure=CALCULATE(AVERAGE('Table'[Value]), ALL('Table'[Category1]),
ALL('Table'[Category2]), ALL('Table'[Category3]))
This worked really fine. However, now I want to calculate an average within category1 and above all other categories. Thus, I want an average for each level in category1. Is this possible?
Regards Marit
Solved! Go to Solution.
Hi @Marit ,
You just need to calculate the average for each category:
AVERAGE 1= CALCULATE(AVERAGE('Table'[Value]); ALLSELECTED(Table[Category1])
Just repeat this for each of the category.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Marit ,
You just need to calculate the average for each category:
AVERAGE 1= CALCULATE(AVERAGE('Table'[Value]); ALLSELECTED(Table[Category1])
Just repeat this for each of the category.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsAdvance 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.