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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Temainfo-suport
Regular Visitor

Problem on a project/model

I Need to build a project on power Bi, the model needs to be like this image, multi databases, all datas has the same data model, each user can't acess others data, i'd like some options if possible, another thing is, how could i identify each database.PROJETO.jpg

1 ACCEPTED SOLUTION
Shahfaisal
Solution Sage
Solution Sage

Here is how you want to set up your data model:

1. A Company dimension to store company information (company id, company name, etc.).

2. All your fact tables will have a CompanyID to link to the Company dimension I mentioned in #1.

3. You will need a table that shows with user belongs to which company. This table will be used to setup Row LEvel Security. More information on this is here https://docs.microsoft.com/en-us/power-bi/enterprise/service-admin-rls

 

Your requirement to restrict users so that they can only see their data is achieved using Row Level Security. Your other requirement to identify each company database is achieved by using the company dimension - for example, if you are looking at Sales, you can use company dimension to break down sales by company, etc.

View solution in original post

1 REPLY 1
Shahfaisal
Solution Sage
Solution Sage

Here is how you want to set up your data model:

1. A Company dimension to store company information (company id, company name, etc.).

2. All your fact tables will have a CompanyID to link to the Company dimension I mentioned in #1.

3. You will need a table that shows with user belongs to which company. This table will be used to setup Row LEvel Security. More information on this is here https://docs.microsoft.com/en-us/power-bi/enterprise/service-admin-rls

 

Your requirement to restrict users so that they can only see their data is achieved using Row Level Security. Your other requirement to identify each company database is achieved by using the company dimension - for example, if you are looking at Sales, you can use company dimension to break down sales by company, etc.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.