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! It's time to submit your entry. Live now!
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
| User | Count |
|---|---|
| 51 | |
| 40 | |
| 35 | |
| 23 | |
| 22 |
| User | Count |
|---|---|
| 133 | |
| 99 | |
| 57 | |
| 39 | |
| 38 |