Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
Can you please support on how to create a DAX formula on how to calculate the average sales for each group?
Please see an example below:
Many thanks,
Solved! Go to Solution.
Try creating a measure:
Average Sales = CALCULATE(AVERAGE(Table1[Amount]),ALLEXCEPT(Table1,Table1[Group]))
Try creating a measure:
Average Sales = CALCULATE(AVERAGE(Table1[Amount]),ALLEXCEPT(Table1,Table1[Group]))
@Anonymous
@Omega's MEASURE would work as a calculated column too
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 90 | |
| 78 | |
| 66 | |
| 65 |