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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
ShivaPr
Frequent Visitor

How to connect multiple schemas in power bi ( if new schema added it should fetch automatically)

Hi all , 

I have one scenario , there is a database it has 3 schemas , each schema has 40 tables with same structure . schemas are for different customers , I need to show RLS based on customer in power bi report . 

Now the question is 
1.How to connect multiple schemas 
2.In future if schema added that should get power bi when it gets refreshed . 

I know we can do parameterization for server and database , but the question is different schemas in database .

How to achieve it ? if any related tutorials , vidoes also fine or any approach is also fine 

Thanks in advance 



Regards 
ShivaPrasad

2 ACCEPTED SOLUTIONS
V-yubandi-msft
Community Support
Community Support

Hi @ShivaPr ,

Thank you for engaging with the Microsoft Fabric Community. You're right that server or database parameterization doesn't address this issue Power BI doesn't allow for dynamic schema switching. Because RLS operates only at the row level, the standard solution is to combine tables from all schemas into one table or view, include a Customer or Schema column, and then apply RLS to that column. This setup also ensures that new schemas are automatically included during refresh if the ingestion process is dynamic.

 

Regards,

Yugandhar.

View solution in original post

krishnakanth240
Memorable Member
Memorable Member

Hi @ShivaPr 

 

We can create a view (or ETL layer) in the database that union tables from all schemas and adds a Customer column then connecting Power BI to the single view and applying RLS using that column or handling in the database layer using metadata table to rebuild the view whenever a new schema is added and Power BI will then pick the data on the refresh.

View solution in original post

4 REPLIES 4
V-yubandi-msft
Community Support
Community Support

Hi @ShivaPr ,

We haven’t received a response from your end yet. Please let us know whether the issue has been resolved or if you’re still facing any difficulties. Feel free to reach out if you need further assistance.

 

Thank you.

V-yubandi-msft
Community Support
Community Support

Hi @ShivaPr ,

I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further.

 

Thank you.

krishnakanth240
Memorable Member
Memorable Member

Hi @ShivaPr 

 

We can create a view (or ETL layer) in the database that union tables from all schemas and adds a Customer column then connecting Power BI to the single view and applying RLS using that column or handling in the database layer using metadata table to rebuild the view whenever a new schema is added and Power BI will then pick the data on the refresh.

V-yubandi-msft
Community Support
Community Support

Hi @ShivaPr ,

Thank you for engaging with the Microsoft Fabric Community. You're right that server or database parameterization doesn't address this issue Power BI doesn't allow for dynamic schema switching. Because RLS operates only at the row level, the standard solution is to combine tables from all schemas into one table or view, include a Customer or Schema column, and then apply RLS to that column. This setup also ensures that new schemas are automatically included during refresh if the ingestion process is dynamic.

 

Regards,

Yugandhar.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.