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 / Question on best metho...
Power Apps
Unanswered

Question on best method to use when creating a table within a model driven app

(0) ShareShare
ReportReport
Posted on by 177
I'm trying to reduce the number of spreadsheets that are used by a charity that I'm involved with.
 
I am new to PowerApps but have got my head around setting up tables, columns, forms and views. I plan to have a Contact table that will be the main place that we store information. However, we have several groups that our Contacts can attend and I'd like to be able to record when someone attends a group and which group they attend, the date and possibly a summary of the support they received too. I'd also like to be able to get reports/charts of the groups attended per week/month/year etc. We have 5 face to face groups each week (each is at a different location), some online 1-2-1 slots on two days of the week and an online group once a week, also a social walk and support once a month. I wouldn't want these all lumped together, but to be able to drill down how many Contacts attend each of the group/sessions each week and also see the Groups that a contact has attended on their Contact record. Help!
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at
     
    The starting point would be for you to create a visualization of the data, so that it is easy to understand the relationship between the tables, based on your business needs.
     
    Looking only at what you put. It would start like this
     
    1. Contact Table (The actual users)
     
    2. Group Table (The possible Groups)
     
    2a. Group Type Table
    Note: Since you have different types of Groups, you COULD just create a local Group Table Option Set, or create a Global Option Set.
    For me... while this is good, I prefer to use a simple Text best mapping table
    This table would hold
    -Type Id
    -Type Namne
    -Type Description
     
    Then in your Form, you would have a dropdown or combobox that is full of these string values, in the Group Table, you can either
    a) copy the string (making analytics easy)
    b) a lookup between 2 and 2b. Meh for me.. I do not like having tons of lookups even though they do help with relationship management
     
    3. Attendance (The Details about the Groups a person was in)
    This is essentially a mapping table between the other 2 tables
    You can have the following for instance
    -Contact Id (LookUp)
    -Group Id (LookUp)
    -(possible) Schedule Id (lookup)
    -Date of Attendance (And / Or)
    --You could intentionally break down Date into
    Week (Int) 
    Month (Int)
    Year (Int)
     
    The benefit to breaking it down, and not just having the data, but it makes SUMing and create calculations etc even in Power BI easier.
     
     
    4. Schedule
    Not sure if you need a sched, but if the same group can happen more than once, then you need to map a Group + Schedule with the Attendance
     
    Now that all being said, this is a very Data driven activity and something that really should go to a Consultant.
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    If you have access try using the plan designer Use the Plan designer to create a business solution with Copilot (preview) - Power Apps | Microsoft Learn. This should provide you with insight on your data structure.
  • Michael E. Gernaey Profile Picture
    53,335 Super User 2025 Season 2 on at
     
    Please let us know if the suggestions are good. As people take their time to respond, please respect that and :-) share your responses.
  • CD-28031715-0 Profile Picture
    177 on at
    I have tried to reply previously to individual messages but haven't been able to work out how to do so, so I'll put a global reply here. Thank you for your comprehensive reply Michael, but I'm afraid a lot of it went over my head. I ended up using ChatGPT to get the solution to my problem this time. I have posted another question that I have but it hasn't been approved for publication yet. 
  • CD-28031715-0 Profile Picture
    177 on at
    @Michael E. Gernaey I'm now a couple of months on from when I posted my original question, I don't know where the time has gone!
     
    I ended up using the following tables.
     
    Group (Name of the group and details)
    Group session (pulls together the Group, date, notes) and Attendees added via SubGrid
    Attendee 
     
    I'm now questioning whether having an Attendee table was necessary and have looked to see what your advice was and you mention using the Contact table. By having an Attendee table, I have realised that I cannot send emails directly from that part of the App and have to go to the Contact record to do so, which is a bit messy. Do you think I need to heed caution with anything if I ditch the Attendee table please? This app is very much still work in progress, as and when I get chance to work on it.
     
     

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard