Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

Suggestion for Dataverse tables, relationship and architecture s a Role / Access Project

(0) ShareShare
ReportReport
Posted on by 100

We are going to create a Canvas App to display Job Roles and Access from a Dataverse tables (Not Unique Role Name as it may exist in defert department as assigned different access). See Below

Role NameDepartmentOffice
Accounts AdministratorRetail NY
Accounts AdministratorPropertyLA
Administrative AssistantRetail TOR
Administrative AssistantPropertyMTL
CoordinatorHRCHI
System AdminITNY


The Other table will contain the Access for a Role (see Below)

Role NameAccess CategoryAccess TitleDefault Value
Accounts AdministratorHardwareType of Computer MAC
Accounts AdministratorHardwareMonitors 1 Monitor
Accounts AdministratorHardwareVOIPyes
Accounts AdministratorSoftwareVPNYes 
CoordinatorHardwareType of Computer Lenovo
CoordinatorHardwareMonitors 2 Monitors
CoordinatorHardwareVOIPNo
CoordinatorSoftwareVPNNo


I'm looking for suggestion on how to Load the data (from Excel) create the tables and relationships.
Canvas App: User can filter by Department and Office to get a unique Role name, and need to display the related access for the Role.

  • ezFlow Profile Picture
    100 on at
    Re: Suggestion for Dataverse tables, relationship and architecture s a Role / Access Project

    Thank you, for 
    I may concat the first 4 char of each field:

    • Name field be set as the combination of the Role - Department - Location, you could set this in a real time workflow on Create and any change to the Department, Office, or Role columns on the table.
      I may concat the first 4 char of each field
  • Verified answer
    Drew Poggemann Profile Picture
    9,278 Most Valuable Professional on at
    Re: Suggestion for Dataverse tables, relationship and architecture s a Role / Access Project

    Hi @ezFlow 

     

    Looking at your table structure, first of all you might want to think about adding some more table here.

     

    • Roles - This would be the unique list of Roles available (Accounts Administrator, Coordinator, System Admin).  The Primary Name field here would be unique to each role
    • Department - Table with all the distinct departments that exist
    • Office - This would be the distinct office locations where you can define specific fields about that office
    • Role Stratification - This would be a table that will be used to create the intersect between the role, department, and office.
      • I would have the Name field be set as the combination of the Role - Department - Location, you could set this in a real time workflow on Create and any change to the Department, Office, or Role columns on the table.
      • This table would contain the 3 lookups for the Role, Department, Office
    • Role Access - This table would be the same as it is now and the Role would be a lookup to the Role table.  This provides that connection / relationship between the tables

     

    From a loading of the data perspective...  I would do the following.

    1. First create all the tables and relationships in Dataverse
    2. Go to https://admin.powerplatform.com and choose "Environments" from navigation on left
    3. Select your environment from the list
    4. Select "Settings" in top navigation for the Environment
    5. Select "Templates" and "Data Import Templates" 
    6. You will then be able to download your templates as needed that you can import through Excel
    7. Once you have them ready, you will be able to load using the "Data Management" section on the same page as the Templates and choose "Imports".

     

    Now, based on the defined model above I would do the following:

    1. Load the Roles through import
    2. Load the Departments through import
    3. Load the Offices through import
    4. Load the Role Stratification through Import and set the lookup fields in this import to the values for the Role, Department, and Office.  Each of these will have unique values so it will find the record and match appropriately.  You use the Primary Name field value to fill in those columns in the import
    5. Same thing for the Role Access table...

    That should do it.  Hopefully this was helpful in some way.

  • ChrisPiasecki Profile Picture
    6,389 Most Valuable Professional on at
    Re: Suggestion for Dataverse tables, relationship and architecture s a Role / Access Project

    Hi @ezFlow,

     

    You can use Dataflows to import the Excel data and it generate the new tables for you. 

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 17

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics