Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
gotters
Resolver I
Resolver I

Power BI CustomData not being passed to report

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 

 

gotters_5-1655155954664.png

 

 

Here is an example of the dax filter I created that is consuming the custom data 

 

gotters_4-1655155941241.png

 

 

I also tried adding the CustomData as a measure just to see it in the report (without applying any filtering) 

 

gotters_6-1655155991286.png

 

 

 

 

 

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

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.

Using row-level security with embedded content in Power BI embedded analytics - Power BI | Microsoft...

 

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. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.