My Excel table has data similar to the following contrived data:
| Name | Likes Sports | Observer | Assigned Person |
| Mike | Yes | Jane | Bill |
| Mike | No | Bob | Bill |
| Jose | Yes | Mary | Bill |
I have a form with a gallery where I set the Items property to Filter(Table1, 'Assigned Person', "Bill"). That gives me all of the records above and then I have a subsequent details form that has more columns than the subset I show above and I use Gallery1.Selected.FieldName for labels on that form. All works fine. However, I want to only have distinct values on the first form so I change the filter on the first form to Distinct(Filter(Table1, 'Assigned Person', "Bill"), Name). That gives me only one record for say Mike in the case above (which is what I want). However, now I cannot use Gallery1.Selected.FieldName in the details form because the first form now has Result. I don't know how to refer to the individual fields of the table on my details form after using the distinct function.
Does this make sense? Sorry it's so convoluted.