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.
The ability to pass a customdata string field into a token request is now available for Power BI. Apparently it should be available in the dataset itself via Dax filter methods ie using a dax filter that looks like this
[State] = CUSTOMDATA()
I have followed all the available online instructions but the customdata that I am passing never seems to land in the report and I cannot figure out what I am doing wrong. I know the other parameters that I am passing such as username, datasets and roles are all working as expected but customdata just does not seem to work.
Is anyone able to advise what I might be missing? It never seems to come through. Any help would be appreciated. See screenshots below for what how I have implemented it. Thanks
Here is an example of the token request I am making
Here is an example of the dax filter I created that is consuming the custom data
I also tried adding the CustomData as a measure just to see it in the report (without applying any filtering)
Hi @gotters ,
Did you specify the master user a member of the role(s) you created. If no role(s) are specified, then all the roles the master user is a member of are used for RLS evaluation.
For more information on how to use CustomData() please refer to the following article.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for your reply. Yes we did make sure that the relevant master user was assigned to the role - but still had no luck getting it to work.
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 |
---|---|
16 | |
4 | |
2 | |
1 | |
1 |
User | Count |
---|---|
29 | |
3 | |
3 | |
2 | |
2 |