I'm building a Canvas App in PowerApps that uses multiple Sharepoint Lists as data sources. The app is used to help team members track a variety of KPIs, including - for example - the countries in which they have visited clients in a given year. The data generated from this App will be displayed on a dashboard that shows, for example, a map of all countries visited by the team in a given year, with different shading according to how many team members visited a country that year. For this, I will need to be able to tally the data like so:
I see 2 scenarios for how to store & manage the data.
Scenario 1: easy to implement the data input/update process, but difficult to use the data for displaying on a dashboard:
The easiest way for me to implement the data input/update process in PowerApps/Sharepoint Lists (in terms of setting up the form, creating and editing records) appears to be setting up a multiselect field that lets the user select (multiple) countries. I can then patch this selection into a Sharepoint List, resulting in 1 row per user, with all selected country values stored in 1 cell.
Scenario 2: more difficult to implement regarding data input/updating (for me), but easy to tally
The data from the multiselect field will have to be "spread" across individual rows (1 row per country), which allows for easier tallying of the data. However, the patch routine for entering & updating data will be more complex. Also, this will result in a very long table which will bring me up against query limits much sooner.
I would prefer Scenario 1 because I already know how to set up a form + patch routine, but I'm not sure how I would go about processing the data from the 'CountriesVisited' column to create the tally I need for my dashboard.
Any advice on how to proceed would be highly appreciated.