The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
I'm trying to calculate the total average of sales units across a dimension in a matrix. Here is my current formula:
Sales Avg Sum = averagex(ALL('Reports DM_STORE'[Store Number]),[Sales Units])
Solved! Go to Solution.
Try the below
Sales Avg Sum = AVERAGEX( ALL( 'Reports DM_STORE'[Store Number], 'Reports DM_STORE'[Store] ), -- OR ALL( 'Reports DM_STORE' ) [Sales Units] )
Try the below
Sales Avg Sum = AVERAGEX( ALL( 'Reports DM_STORE'[Store Number], 'Reports DM_STORE'[Store] ), -- OR ALL( 'Reports DM_STORE' ) [Sales Units] )
Have you tried just
Sales Avg Sum = average('Reports DM_STORE'[Sales Units])
That should average all the numbers of Sales Units.
Help when you know. Ask when you don't!
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |