Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
In power bi desktop or service, is it possible to to pass username() as a parameter to an SSAS MD model using MDX code using live connection?
Solved! Go to Solution.
Hi,
You could try to create a role with a DAX Table Filter that uses the USERNAME function. Then, you'll associate any users that need to be filtered with this role.
You could refer to this toturial: Tutorial: Dynamic row level security with Analysis services tabular model
Best Regards,
Henry
Hi,
You could try to create a role with a DAX Table Filter that uses the USERNAME function. Then, you'll associate any users that need to be filtered with this role.
You could refer to this toturial: Tutorial: Dynamic row level security with Analysis services tabular model
Best Regards,
Henry
User | Count |
---|---|
95 | |
86 | |
78 | |
72 | |
67 |
User | Count |
---|---|
110 | |
104 | |
84 | |
65 | |
63 |