dbTalk Databases Forums  

retrieving distinct value with a drill though?

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


Discuss retrieving distinct value with a drill though? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jéjé
 
Posts: n/a

Default retrieving distinct value with a drill though? - 11-01-2005 , 12:30 PM






Hi,

I want to get distinct values only during a drillthrough command.

Currently the drill command return all rows behind the cube.
But I want to retrieve only particular information like customer name(s)
instead-of customer name + sales list.

thanks.

Jerome.




Reply With Quote
  #2  
Old   
Darren Gosbell
 
Posts: n/a

Default Re: retrieving distinct value with a drill though? - 11-02-2005 , 12:27 AM







Quote:
I want to get distinct values only during a drillthrough command.

Currently the drill command return all rows behind the cube.
But I want to retrieve only particular information like customer name(s)
instead-of customer name + sales list.

In AS2k I don't think there is any way of doing this with drillthrough.
Have you had a look at actions? You might be able to set up a URL action
that would hit a web page that could return the results you are looking
for.

In AS2k5 you might be able to achieve this using an alternate measure
group with the distinct values (maybe based on a view)

see the following:

http://msdn.microsoft.com/library/de...l=/library/en-
us/dnsql90/html/sql2k5_anservdrill.asp

Although you may also be able to make use of attributes in you
dimensions in AS2k5.


--
Regards
Darren Gosbell [MCSD]
<dgosbell_at_yahoo_dot_com>
Blog: http://www.geekswithblogs.net/darrengosbell


Reply With Quote
  #3  
Old   
Pablo Mugica
 
Posts: n/a

Default Re: retrieving distinct value with a drill though? - 11-02-2005 , 04:53 PM



It's doable if you modify the drillthrough.htc file that comes with BI
Portal.
HTH

Pablo Mugica


"Jéjé" <willgart_A_ (AT) hotmail_A_ (DOT) com> wrote

Quote:
Hi,

I want to get distinct values only during a drillthrough command.

Currently the drill command return all rows behind the cube.
But I want to retrieve only particular information like customer name(s)
instead-of customer name + sales list.

thanks.

Jerome.






Reply With Quote
  #4  
Old   
Jéjé
 
Posts: n/a

Default Re: retrieving distinct value with a drill though? - 11-02-2005 , 06:52 PM



just more info...
I'm using Excel.
does it possible to modify the MQX query to add a "Select distinct"
anywhere???
I don't want to load the entire result in memory then create a new dataset
with only distinct values...

Modifying the .htc... ok, good idea... but to change what?
I don't see any option in the MDX statement.

"Pablo Mugica" <PSM@x.com> wrote

Quote:
It's doable if you modify the drillthrough.htc file that comes with BI
Portal.
HTH

Pablo Mugica


"Jéjé" <willgart_A_ (AT) hotmail_A_ (DOT) com> wrote in message
news:OWbYLJx3FHA.3460 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Hi,

I want to get distinct values only during a drillthrough command.

Currently the drill command return all rows behind the cube.
But I want to retrieve only particular information like customer name(s)
instead-of customer name + sales list.

thanks.

Jerome.








Reply With Quote
  #5  
Old   
Pablo Mugica
 
Posts: n/a

Default Re: retrieving distinct value with a drill though? - 11-04-2005 , 11:53 AM



More info from me too. This is just a workaround.
I didn't find a way to do this with MDX, just filter the resultant
recordset.
HTH

Pablo Mugica

"Jéjé" <willgart (AT) BBBhotmailAAA (DOT) com> wrote

Quote:
just more info...
I'm using Excel.
does it possible to modify the MQX query to add a "Select distinct"
anywhere???
I don't want to load the entire result in memory then create a new dataset
with only distinct values...

Modifying the .htc... ok, good idea... but to change what?
I don't see any option in the MDX statement.

"Pablo Mugica" <PSM@x.com> wrote in message
news:epk2HBA4FHA.3636 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
It's doable if you modify the drillthrough.htc file that comes with BI
Portal.
HTH

Pablo Mugica


"Jéjé" <willgart_A_ (AT) hotmail_A_ (DOT) com> wrote in message
news:OWbYLJx3FHA.3460 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Hi,

I want to get distinct values only during a drillthrough command.

Currently the drill command return all rows behind the cube.
But I want to retrieve only particular information like customer name(s)
instead-of customer name + sales list.

thanks.

Jerome.










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.