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.
This is my simplified data:
Actually I only have the first 3 columns (no last blue column). I tried to create it, but I failed. I think I need it, because my final goal is to create a pie chart with only 2 pieces (above/below average) of only area1. Smth like this:
How should I go about it?
Solved! Go to Solution.
Would it work with calculated column?
above/below = IF(AVERAGE('Table'[grade]) > 'Table'[grade], "below average", "above average")
Hi @Zyg_D ,
If you wanna create a pie chart,you need to create a calculated column as below:
above/below =
var _ave=AVERAGEX(FILTER('Table','Table'[area ]="Area 1"),'Table'[grade]) Return
IF('Table'[grade]>_ave,"above average","below average")
Finally,you will see:
For the related .pbix file,pls click here.
@Zyg_D ,
Try
Above or Below = IF(AVERAGEX(all('Table'),'Table'[grade]) > 'Table'[grade], "Below average", "Above average")
Above or Below = IF(calculate(AVERAGE('Table'[grade]),allexcept('Table','Table'[grade])) > 'Table'[grade], "Below average", "Above average")
Would it work with calculated column?
above/below = IF(AVERAGE('Table'[grade]) > 'Table'[grade], "below average", "above average")
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
138 | |
107 | |
104 | |
82 | |
63 |