Hi all,
I am just starting out learning Dataverse and need some pointers.
I have a table called 'Tasks' which contains the general information about a task. The task table has a task number as a primary column. There is a separate column called 'Categories' which is a choice column allowing you to select the categories required for this task.
The task is then split up into categories such as drawings, certs, etc. Each category has it's own table.
Each category table has a lookup column that points to the parent task number.
Each category table also has a column called status. There are three values; 'Incomplete', 'Needs Attention', and 'Complete'.
In Power Apps I have a gallery that gets it's items from the 'Categories' choice column on the 'Task' table.
In the gallery template there is a circle shape that I want to change colour to reflect the categories status value.
How do I, for each category in the gallery, lookup the relevant table, then the relevant status column, and use the value to change the color.
I tried using a table as the data source for the gallery that looked like this:
Table({label: "Drawings", table: 'Task Data'})
Also, the 'Tasks' table has a one-to-many relationship with the other tables, so I can have multiple records in a category table linked to one task. The idea is that if any of the records in a category are 'Incomplete', color the status red. If none are 'Incomplete' but some are 'Needs Attention', color it yellow. And if all are complete, green.
Appreciate any help on this.
Thanks