SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSRS multi value parameter used in SSAS MDX


SSRS multi value parameter used in SSAS MDX

Author
Message
scottichrosaviakosmos
scottichrosaviakosmos
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1145 Visits: 752
I am new to ssas and i am trying to find a way to pass multi values parameter to mdx.I have a similar report
using Sql queries.I am trying to replicate the sql report. The ssrs report has 3 parameters
a) Country
b) County
c) Town
in my sql report I have these parameters show up like
-UK
--London
---Newham
Since this is a multi values parameter so users have the option to select multiple values.

Every combination has a key associated and via another query where this keys are passed we get the dataset.ex:

key Country County Town
2 UK Newham Bow

I mean everything in sql query is done via procedures.
** we have a sql table with all combination of these 3 columns(we do not have any dimension like this in cube
Although we can create if required).

How to achive the same using mdx. Any suggestion would be a great help.
Sue_H
Sue_H
SSC-Forever
SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)SSC-Forever (48K reputation)

Group: General Forum Members
Points: 48117 Visits: 12338
scottichrosaviakosmos - Friday, January 12, 2018 3:12 AM
I am new to ssas and i am trying to find a way to pass multi values parameter to mdx.I have a similar report
using Sql queries.I am trying to replicate the sql report. The ssrs report has 3 parameters
a) Country
b) County
c) Town
in my sql report I have these parameters show up like
-UK
--London
---Newham
Since this is a multi values parameter so users have the option to select multiple values.

Every combination has a key associated and via another query where this keys are passed we get the dataset.ex:

key Country County Town
2 UK Newham Bow

I mean everything in sql query is done via procedures.
** we have a sql table with all combination of these 3 columns(we do not have any dimension like this in cube
Although we can create if required).

How to achive the same using mdx. Any suggestion would be a great help.


Here are some examples of cascading parameters you may want to look at:
Add Cascading Parameters in a SSRS Report using MDX and SSAS Multi-Dimensional
Cascading parameters in SSRS(MDX)

Sue



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search