Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Coding PivotTables based on OLAP data

Status
Not open for further replies.

jmtruji2

Programmer
Feb 14, 2001
1
US
PivotTables based on OLAP cubes don't use standard pivot table objects (i.e. .pivotfields().pivotfields().visible). I have been unsuccessful in finding any decent documentation. When you record a macro it uses .treeviewcontrol.hidden and .treeviewcontrol.drilled - help says these objects are for use only when recording a macro plus they are ugly looking array definitions that will require implicit knowledge of the cube structure.

I want to pull data from this cube based on user input for a specific week that is imbedded in a [year].[quarter].[month].[year] level structure. Do I need to go to a SQL type query or is there a way to do something like a .pivotitem("week_I_want").visible with OLAP cubes?

Thanks
JMT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top