LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default set olap pivot table selection

i have a pivot table in excel tied to an analysis services 2000 cube.
i want to drill into the row field based on a page item value from
another pivot table. once i clear the existing selections, i use the
following code to 'reset' the row selections. however, it keeps
selecting the 'ascending' item value plus the variable selection i'm
successfully passing. for example,consider the values in the row
dimension are sorted in ascending order and contain the following
values:

ABC Company
DEF Company
GHI Company
JKL Company

if "GHI" Company is the value i'm attempting to select through a
variable (custnme), the code below will select it plus ABC Company the
first time the code is run. the second time the code is run it will
correctly select "GHI Company" but then also select "DEF Company" and
so on...

any ideas on what i'm doing wrong?


'Build Pivot - Drill Accounts - Select New Company Name
pt4.CubeFields(1).TreeviewControl. _
Drilled = Array(Array(""), Array("[Accounts].[All Accounts].[" &
custnme & "]"))

 
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
OLAP Pivot Table Carissa Excel Discussion (Misc queries) 1 May 7th 10 10:42 AM
OLAP Pivot Table problem Dmitri Excel Discussion (Misc queries) 0 May 21st 08 04:53 PM
Pivot table and OLAP Cube Edvin Sovinc Excel Programming 0 November 20th 06 04:16 PM
olap cube (pivot table) Jodel Excel Programming 0 December 14th 04 11:09 PM
Olap Pivot Table kent[_3_] Excel Programming 1 June 1st 04 05:00 PM


All times are GMT +1. The time now is 10:14 AM.

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

About Us

"It's about Microsoft Excel"