dbTalk Databases Forums  

Drillthrough error using drillthrough.htc

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Drillthrough error using drillthrough.htc in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
prasannat@gmail.com
 
Posts: n/a

Default Drillthrough error using drillthrough.htc - 06-16-2005 , 04:41 AM






Hi,

i am getting an error "Could not get detail records for this aggregate.
Make sure that permissions to obtain drillthrough records are set
properly on the OLAP server"

Solution proposed for this was to change the code

from
=============================
sMDX = "DRILLTHROUGH\n";
sMDX = sMDX + "SELECT FROM [" + element.DataMember + "]\n";
sMDX = sMDX + "WHERE (" + GetTupleMDX(tupCore);
=============================

to
=============================
sMDX = "DRILLTHROUGH\n";
if (element.DataMember.charAt(0) == "[")
sMDX = sMDX + "SELECT FROM " + element.DataMember + "\n";
else
sMDX = sMDX + "SELECT FROM [" + element.DataMember + "]\n";
sMDX = sMDX + "WHERE (" + GetTupleMDX(tupCore);
=============================

but the error still persisits.

Can anyone let me know resolution for the same.

Thanks in advance.

Regards
Pras


Reply With Quote
  #2  
Old   
pras
 
Posts: n/a

Default Re: Drillthrough error using drillthrough.htc - 06-17-2005 , 05:27 AM






Urgent! Calling all experts to suggest on the issue raised

prasannat (AT) gmail (DOT) com wrote:
Quote:
Hi,

i am getting an error "Could not get detail records for this aggregate.
Make sure that permissions to obtain drillthrough records are set
properly on the OLAP server"

Solution proposed for this was to change the code

from
=============================
sMDX = "DRILLTHROUGH\n";
sMDX = sMDX + "SELECT FROM [" + element.DataMember + "]\n";
sMDX = sMDX + "WHERE (" + GetTupleMDX(tupCore);
=============================

to
=============================
sMDX = "DRILLTHROUGH\n";
if (element.DataMember.charAt(0) == "[")
sMDX = sMDX + "SELECT FROM " + element.DataMember + "\n";
else
sMDX = sMDX + "SELECT FROM [" + element.DataMember + "]\n";
sMDX = sMDX + "WHERE (" + GetTupleMDX(tupCore);
=============================

but the error still persisits.

Can anyone let me know resolution for the same.

Thanks in advance.

Regards
Pras


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.