Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Filter Dimension by Parameter in SSRS DataSet using MDX

$
0
0

I have a Tabular Model in SSAS.

There are two tables:

  1. DimQuestions (QuestionKey, QuestionDesctiption, QuestionGroup)
  2. DimQuestionGroup (QuestionGroupKey, QuestionGroup)
  3. FactResults (...)

I also added another table:

  • Security (Username, QuestionGroup)

UsernameQuestionGroup
User1Group1
User1Group2
User2Group1

I am creating a DataSet in SSRS and there I want to select only the QuestionKeys(from DimQuestion) where a specific username has access to according to the tableSecurity. One username may have access to multiple groups, and a group may be available to multiple usernames.

Is there a best practice to achieve this? How to achieve this using MDX?



Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>