Power Pivot Dax

tbablue

Active Member
Joined
Apr 29, 2007
Messages
482
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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,215,161
Messages
6,123,377
Members
449,097
Latest member
Jabe

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