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

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

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