Power Pivot - Select Named Sets via Slicer Error 'Cannot Handle a Set that Changes Dimensionality'


Hi all,


I am trying to use a technique from a blog post;


to control the selection of Named Sets in a pivot via a Slicer.  My named sets contain groups of DAX calculated measures, what I'm wanting to do is allow users to select between comparison versions i.e vs Last Year, vs Budget etc. and see collections of performance measures.


I've followed the instructions and have created 2 sets that both work on the pivot, I've created an independent table to house the set names and a calculated measure in DAX that returns the slicer selection and verified that this works using the CUBEVALUE function but when using the third SlicerSet in the pivot table I always get an error; 'Cannot Handle a Set that Changes Dimensionality' followed by excel crashing.


Attached is a sample workbook where you can see the issue. Both the 'MTD vs LY' and 'MTD vs Budget' sets can be added to the pivot table.  When using the SlicerSet in the pivot it works fine when selecting 'MTD vs Budget' in the Slicer but gives the error when trying to select 'MTD vs LY'.


Any help most appreciated!


Cheers, Mike

0 Replies