Hi,
I have a very basic problem that I can't seem to solve.
I am trying to build a very simple org chart, and have a dropdown filter for a gallery. I would like to create a collection so that I can display all results in the filter. I am trying to follow this video here:https://www.youtube.com/watch?v=kLGglidmPxg and I'm at the stage where I need to create the collection, which seems easy enough:
For the screen, whilst set to OnVisible, I add: ClearCollect(collectEmployees, Distinct(Table1, AREA))
Employees = this will be the name of my collection
Distinct(Table1, AREA) = Table1 is my gallery, and they are currently filtered by the AREA field, and the dropdown filter uses 'Distinct(Table1, AREA)' to ensure only a single instance of each AREA shows in the dropdown.
When I check to see what results are being fetched with that collection, it returns 'we didn't find any data'.
As far as I can tell, it should populate the collection with distinct values from the AREA field of the data source...
I know I'm doing something very basic wrong, but can't figure it out.