Power Pivot Dax

tbablue

Active Member
Joined
Apr 29, 2007
Messages
488
Office Version
  1. 365
Platform
  1. Windows
Hi Forum,

I'm struggling with the following - can anyone help!?

I have a number of measures in my pivot table, including a measure called AvgX.

1624956496522.png


AvgX = CALCULATE(SUM('Team Member Query'[Units Approved]))/CALCULATE(DISTINCTCOUNT([Definitive Name]))

It calculates the correct figure at the level 'Team Member Query'[Definitive Name] ... 7.41 - but I want 7.41 to appear in every row ... as shown below

1624956812159.png


I've tried various permutations of ALL, ALLEXCEPT, FILTER but without any success.

The query is called 'Team Member Query' and the fields in question would be [Units Approved] for Hrs, and [Yr.Wk (Day Date)] for 2021.23 etc. [Definitive Name] would be the names that appear under Yr.Wk.

Can anyone help?

Thanks in advance for your attention.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,223,239
Messages
6,170,947
Members
452,368
Latest member
jayp2104

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top