In this video, Matthew Peterson from Pragmatic Works demonstrates how to use rollup columns in Dataverse for Power Apps. Rollup columns are an essential feature that allows users to aggregate data from related records, such as summing donations, calculating averages, and determining minimum or maximum values across child records. This functionality helps streamline data management and reporting in Power Apps, reducing the need for manual calculations.
Rollup columns are used when you need to summarize values from related records in a parent-child table structure. Matthew illustrates this concept using a school club donation app where multiple donations are linked to various clubs. By using rollup columns, users can see the total amount of donations for each club without manual calculations.
The process for setting up rollup columns involves the following steps:
In the demonstration, Matthew walks through setting up a rollup column for a school club donation app. Here's how he implements it:
Matthew also highlights some customization features of rollup columns:
Once the rollup column is set, recalculations typically occur every 12 hours, but users can manually force a recalculation if needed. For example, after adding a new donation, the app recalculates the total for the Cooking Club, displaying the sum of all donations made to that club.
Matthew explains how rollup columns are highly effective in situations where large datasets are involved. For instance, he implemented a similar system for his school to manage parent donations. The same principles can be applied to other scenarios, such as calculating totals or averages in any parent-child data relationship within Power Apps.
Rollup columns in Dataverse for Power Apps provide a powerful way to automate the aggregation of data, reducing manual calculations and improving data accuracy. Whether you're summing donations, averaging grades, or counting records, rollup columns streamline data management in model-driven apps.
Don't forget to check out the Pragmatic Works' on-demand learning platform for more insightful content and training sessions on Power Apps and other Microsoft applications. Be sure to subscribe to the Pragmatic Works YouTube channel to stay up-to-date on the latest tips and tricks.