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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Calli
New Member

Help constructing data model

Good morning!

 

I'm interested in setting up BI for my workplace but before I pitch it to the bosses I'd like to make an example of a dataset of one of our clients.

 

Our data model in SQL is outdated and far from efficient but I've got to work with what I've got to work. I'm having the following issues:

- an account has an accountcode as PK 

- an order has an ordercode as PK

- a visit has a visitcode as PK

- a distribution check has a distributioncode as PK

- an employee has an employeecode as PK

- a product has a productcode as PK

 

An employee can go to an account that is in his Territory and make a visit which makes him the Visitor and Owner.

But an employee can also go to an account that is NOT in his Territory and make a visit which makes him the Visitor, but not Owner.

I'd like to include an "Employee" table and a "Territory" table so that you can filter on visits where Employee X is the Owner of the account or is the Visitor. 

 

An account can be visited multiple times of course and a visit can have multipe orders and/or multiple distribution checks. 

But not all orders happen in a visit. There are some accounts that call their order in, so no Visit is registered, just the orders.

So orders are best linked to the account and so are the visits, but an ordercode sometimes have to be linked to a visitcode and sometimes not if the order was registered without a visitcode. 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Calli ,

 

According to your statement, I am still confused about your requirement. I think Power BI doesn't support us to limit the number of times a role user in workspace to view the report in workspace. 

For reference:

Roles in workspaces in Power BI

Power BI support us to restrict data based on user by Row level Security.

For reference:

Row-level security (RLS) with Power BI - Power BI | Microsoft Learn

 

Best Regards,
Rico Zhou

 

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Calli ,

 

According to your statement, I am still confused about your requirement. I think Power BI doesn't support us to limit the number of times a role user in workspace to view the report in workspace. 

For reference:

Roles in workspaces in Power BI

Power BI support us to restrict data based on user by Row level Security.

For reference:

Row-level security (RLS) with Power BI - Power BI | Microsoft Learn

 

Best Regards,
Rico Zhou

 

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

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.