cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
CZ_SqlBI
Level: Powered On

Data restrictions

Hi everyone, 

 

I'm fairly new to Powerapps. I am trying to migrate to a Powerapps application from an Excel based one. 

At the minute, we are restricting access to data via VBA by looking at users' permissions to the folders within the network drive. So, imagine that we've got 100 shops and each shop has to log sales. Each shop has access to only their own employee data unless the user has been allowed to access other shops' folders within the drive. 

 

Would it be possible to assign users keying sales data to the new Powerapp application to specific segmets of the same data, if the Excel file that contains employee information from all shops is linked to the application?

 

So, master data set would ultimately contain everyones' details but the manager for each shop should only be able to see their own employees only when accessing the application. 

 

Any suggestions?

2 REPLIES 2
Community Support Team
Community Support Team

Re: Data restrictions

Hi @CZ_SqlBI,

 

Could you please share a bit more about your scenario?

Do you only want the manager for each shop to see their own employees info when they open this app?

 

I think PowerApps could achieve your needs. If you want the manager for each shop to see their own employees info when they open this app, I think the Filter function could achieve your needs within PowerApps.

 

Note: Please note that, if you want to create a connection to your Excel file from PowerApps, you must format the data of your Excel file as a table firstly. More details, please check here.

 

More details about Filter function in PowerApps, please check the following article:

Filter function

 

You could consider take a try to add Gallery control within your app to display all records within your Excel table, and then filter the items within the Gallery control based on current login account:

 

Filter(ExcelTable,ManagerEmail=User().Email)

Note: The ExcelTable represents the Excel table data source on your side. The ManagerEmail represents the column in your Excel table, which is used to store the manager's email.

 

More details about User() function in PowerApps, please check following article:

User function

 

 

Best regards,

Kris

 

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
CZ_SqlBI
Level: Powered On

Re: Data restrictions

Kris thanks very much for your input.

 

I'll give the filter a try. The scenario is exactly how you've presented it - the bottomline is that I wouldn't want Manager of ShopA to be able to see employees from ShopsB, C and D. 

 

I'll let you know what happens Smiley Happy