Hello!
I about to start builing my first PowerApps App.
However I am not sure what would be the best data model and data source for my app. It would be great if I could get some pointers on this!
Heres what I trying to do:
- I have a List of about 250.000 product-IDs. All those products have multiple levels of product categories and sub-categories. They also have a lot of other attributes.
- The problem I am trying to solve: some products are related to other products in a way that (at the moment) isn't reflected in the database. Those relations can't be created automatically - they have to be created by humans.
- My idea is to create a master-detail form: a user starts with the complete list of 250k products and reduces it by using filters and/or search function to one product - eg: the user finds the product "123" in the master list and wants to add products that are related to product 123.
- In the detail list: the user uses the same list of 250k products. and by again using filters and/or a search function the list is reduced to products the user deems relevant. e.g: in the detail list the user finds the product 456 and the product 789. The user decides to add a new attribute to those two products stating that those two product are related to product 123.
- There a different "kinds" of relations. Each kind of relation has different meaning. At the moment there are six kinds of relations: lets call them A, B, C, D, E and F. Lets say in this example that product 456 is related to 123 with a "B" relation and product 789 is related to 123 with a "F" relation.
- The result should be: when looking at product 123 I should see that it is the master product to 456 in a "B" relation and that it is the master product to 789 in a "F" relation. Each product can be the master product to infinit detail product for every relationship kind.
- Looking at product 456 I should see that it is a detail-product to product 123 in a "B" relation. Each product can be the detail product to only one master product for each relationship kind.
- Also I should be able to search for all master products and specific kinds of relations and get all related sub-products. This Apps should also be the system where this information is being maintained. Only thing I need for the external database is new products and the information which products are obsolet.
Fine tuning: there should be a way to display differenct sub-sets of products to different users and every attribute/added relation should show the username who added this relation.
But this fine tuning is for later. Right now I am not sure about the data model and the source. Of course all this could be done in a Excel spreadsheet however I thought this could be a nice use case for power apps as well.
How should I set up my data? Unfortunately I do not have direct access to the data source.
I thought two options:
- exporting the data to Excel and having this file on OneDrive
- exporting the data and setting up a really simple SQL database in Azure
What would be the better approach? What would be a good way to store those attributes/relations added by the users?
Any help is very much appreciated!!