Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
MDX query to filter the cube
I have to populate a pivot table using VSTO. I am using source of the pivot
table as an analysis cube. I am using pivotCache.CommandText = "<name of the cube"; pivotCache.CommandType = Microsoft.Office.Interop.Excel.XlCmdType.xlCmdCube ; but my requirement is to show a filtered cube. I think an MDX query as commandText can do this. But I am not being able to write the correct MDX that can give a filtered cube which I can use to populate pivot table? I have used MDX query as "select from <cube name where <filter condition(s)" . But it is showing that no column found that excel can use. Plese help me to prepare the MDX query. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Advanced Filter Query--Not | Excel Discussion (Misc queries) | |||
Filter or Query Between Worksheet | Excel Worksheet Functions | |||
where is the create OLAP cube option from microsoft query? | Excel Discussion (Misc queries) | |||
suppress warning and locate cube in a pivot table from olap cube | Excel Discussion (Misc queries) | |||
CHANGE QUERY SQL CUBE FROM EXCEL | Excel Programming |