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!
Average = Sum / Count
For a pivot visualization, can I extend the Values summerization to Average = Sum / Distinct Count?
Thanks in advance!
Jeff Keryk
Solved! Go to Solution.
yes, just write a custom measure as follows
myAverage = divide(sum(table[Column]),distinctcount(table[Column]))
yes, just write a custom measure as follows
myAverage = divide(sum(table[Column]),distinctcount(table[Column]))
Hey Matt - It's funny... I have been doing DAX measures in Power Pivot for some time. With PBI, I am working with a new tool and I seem to forget what I already know!
Thanks for your help; it was perfect.
Jeff Keryk
| User | Count |
|---|---|
| 51 | |
| 38 | |
| 33 | |
| 22 | |
| 19 |
| User | Count |
|---|---|
| 136 | |
| 102 | |
| 59 | |
| 36 | |
| 35 |