excel - OLAP cube Member Name instead of ID to filter Pivot -


i have pivot table based of olap cube, , i'd filter 1 of fields based on value of cell. filter works when use id number, not when use name, wonder if have wrong in syntax.

this works:

activesheet.pivottables("sales").pivotfields("[buying].[mch].[mch3]"). _     currentpagename = "[buying].[mch].[mch3].&[69]" 

but doesn't

activesheet.pivottables("sales").pivotfields("[buying].[mch].[mch3]"). _     currentpagename = "[buying].[mch].[mch3].[l womenswear]" 

even though id l womenswear 69. i'd version of this

activesheet.pivottables("sales").pivotfields("[buying].[mch].[mch3]"). _     currentpagename = "[buying].[mch].[mch3].[x]" 

where x cell write l womenswear, or department. can work ids if necessary, simplify if use names.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -