dbTalk Databases Forums  

Passing Olap Parameter in SQL Reporting Services from One Report to Another

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


Discuss Passing Olap Parameter in SQL Reporting Services from One Report to Another in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Susan
 
Posts: n/a

Default Passing Olap Parameter in SQL Reporting Services from One Report to Another - 12-15-2006 , 10:38 AM






This works if I hard code my Parmeter as [Dim Sales Group].[Sales
Group].&[1] but if I code it as
[Dim Sales Group].[Sales Group].[Sales Group Name] it does not work. I
only know the Sales Group name from the data set not the Key. Anyone no
any other way to do this? I know you can create whole MDX string and
pass it but how to I pass that to another report in reporting Services?
Also if I make the parmeter a text box and type in the value [Dim
Sales Group].[Sales Group].[Sales Group Name] name the report works
but when I hide the parameter and try to pass it as [Dim Sales
Group].[Sales Group].[Sales Group Name] it does not work yet passing
it as [Dim Sales Group].[Sales Group].&[1] does.


Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: Passing Olap Parameter in SQL Reporting Services from One Report to Another - 12-15-2006 , 12:08 PM






Did you confirm that the exact string being passed is what you expect -
you could temporarily add a text box to the report, to display it? Also,
what does the parametrized MDX query, which usees this string, look
like?


- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #3  
Old   
Ramunas Balukonis
 
Posts: n/a

Default Re: Passing Olap Parameter in SQL Reporting Services from One Report to Another - 12-18-2006 , 04:54 AM



You have to enter property MDXUniqueName = 2 in you connection string to get
dimension path by name instaed of key.

Ramunas

"Susan" <Susan.Swanger (AT) Siemens (DOT) com> wrote

Quote:
This works if I hard code my Parmeter as [Dim Sales Group].[Sales
Group].&[1] but if I code it as
[Dim Sales Group].[Sales Group].[Sales Group Name] it does not work. I
only know the Sales Group name from the data set not the Key. Anyone no
any other way to do this? I know you can create whole MDX string and
pass it but how to I pass that to another report in reporting Services?
Also if I make the parmeter a text box and type in the value [Dim
Sales Group].[Sales Group].[Sales Group Name] name the report works
but when I hide the parameter and try to pass it as [Dim Sales
Group].[Sales Group].[Sales Group Name] it does not work yet passing
it as [Dim Sales Group].[Sales Group].&[1] does.




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.