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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Kushagra
Frequent Visitor

Filtering of data using API

Hi,

 

My colleague has a PowerBI Pro license which they have used to embed their salary report in a shared workspace. I am trying to have a code created in React which helps my team members view the report's data (their own salary), but I need to filter it to show only certain data according to the type of user in my team (Manager/Developer/QA).  

 

We are using a schema basic to filter data, but it uses embed tokens instead. Is there any way we can filter data without having to use generate tokens API (POST https://api.powerbi.com/v1.0/myorg/GenerateToken)? I already have username and password of the PowerBI pro license holder.


 
1 ACCEPTED SOLUTION
2 REPLIES 2
VBLOT
Helper I
Helper I

Hello,

 

To filter the view according to the user, I do not know in React but you can use the RLS which basically creates Roles in the Report.

 

Check out : https://learn.microsoft.com/en-us/power-bi/enterprise/service-admin-rls

 

Tell me if that helps.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.