web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Suggestion for Dataver...
Power Apps
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.

I have the same question (0)
  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    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.

  • Verified answer
    Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    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.

  • ezFlow Profile Picture
    100 on at

    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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard