DAX measure filters not reflected on detail reports

SalmonEggs

New Member
Joined
May 19, 2014
Messages
2
I'm looking for some insight on a PowerPivot problem that's got me tied in knots. I'm finding that whenever I use a filter within a measure the resulting detail report (generated by double clicking on a value in the pivot table) does not reflect the filter.

As an example, lets say I have a list of three names {Paul, Ted, Sue} each of which are also indicated to be either male or female. Let's assume for the sake of this simplified example a slicer for male or female is not an available option. So I create a measure which is something like [Count Male]:=calculate(countrows[<wbr>table1],table1[gender]="Male") the result displayed in a pivot table if I drag this measure to the values column would be 2 assuming Paul and Ted are male and Sue is female. However, when I click on the value to see the underlying records for Paul and Ted, I get rows for Paul, Ted, and Sue.

So my question is how to go about applying a filter within a measure that also is correctly reflected on the detailed reports? I've been digging around on the web for several days now but have not been able to find anything that specifically addresses this issue. Any help would be appreciated.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,223,996
Messages
6,175,857
Members
452,676
Latest member
woodyp

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