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! Learn more

Reply
darraghcass
Frequent Visitor

Want different users to see different data based on their key that is used in Custom connector

I have a custom connector and it gets data back from an API. Each user whitin the company has an API key which brings back different levels of data. I have a report and I want it to be able to change based on which user is viewing it. So if a person with a low level key logged in and viewed the report in the application they would only see as much data as the API key allows them. I have embedded this report using App owns data method but everyone is viewing the data using my API key which is used in the Gateway. Anyone know how I can get the report to be able to refresh the data for that user that logged in and show them the data that they have access too based on the API key

3 REPLIES 3
GilbertQ
Super User
Super User

Hi @darraghcass 


The best way to get this working is to import all the data into a single PBIX.


Then based on the API permissions use Row Level Security which will then only show the user the data that they have access to?

 

here are more details on how to use RLS: Restrict data access with row-level security (RLS) for Power BI Desktop - Power BI | Microsoft Docs





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

The problem is that with importing all the data won't work because the data needs to be constantly updated. I have looked into RLS and it doesn't seem possible with the API keys and different data that each key brings back

Anonymous
Not applicable

Hi @darraghcass ,

 

During the investigation, we found that other users had shared some good examples, and we hope they can help you.

API Works with RLS 

Best Regards,
Community Support Team _ Caitlyn

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Kudoed Authors