19

Even though you can directly reference the slicer name range in the cube formula, it won’t work if you select multiple slicer values –

 


But there is a trick I learned thanks to the great PowerPivotPro blog.

Going back to the sheet that holds the PowerPivot table, we had previously selected ‘Calendar Year’ as a vertical slicer.  Interestingly, you can also drag and drop the same field into the report filter field, which in effect enables this field to be both a slicer and a regular filter!



By using this trick, the slicer selection will always be in sync with the pivot table filter.  And in turn, we can use the regular filter cell reference in the cube formula, as they graciously understand multiple selected members in a regular filter.

 


After you change the cube formula, you may have to refresh the PowerPivot table, in order to override the cached values.

Comments

Jelle-Jeroen Lamkamp
# Jelle-Jeroen Lamkamp
Tuesday, December 28, 2010 3:20 AM
Great Post

Playing around with this topic for a while
To bad I just found your blog...

read the post on powerpivotpro
I can only hope my comment helped making this post

Post Comment

Only registered users may post comments.
 My Blog Friends Minimize


    
Copyright 2004-2012 MSBICentral.com Terms Of Use Privacy Statement