Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced Filter Query--Not Orgelizer[_2_] Excel Discussion (Misc queries) 2 August 18th 09 12:40 AM
Filter or Query Between Worksheet z060081 via OfficeKB.com Excel Worksheet Functions 1 March 2nd 09 03:38 PM
where is the create OLAP cube option from microsoft query? Nick Kilpasis Excel Discussion (Misc queries) 0 May 17th 07 01:00 PM
suppress warning and locate cube in a pivot table from olap cube Tewari Excel Discussion (Misc queries) 0 March 28th 07 06:54 AM
CHANGE QUERY SQL CUBE FROM EXCEL Juanjo Excel Programming 0 February 4th 04 05:19 PM


All times are GMT +1. The time now is 07:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"