Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |