Hi Power Community - I've done a lot of searching and I'm close to my solution, but I need your help to remove duplicate values. Here's my current code, which is in the items property of a gallery:
Sort(Filter(Search(Cards, SearchInput1.Text, "crd23_card", "crd23_card","crd23_controltype","crd23_data","crd23_displaytext"), ControlType = "Button"), DisplayText)
This allows a user to search for a value, and it filters to the rows I want (buttons only). It also sorts it alphabetically.
The problem is that I have a lot of duplicate values. I want to remove duplicates based on one column only (the column is called DisplayText), but every combination I use either removes duplicates based on all columns (e.g., using the ForAll command) OR it only returns one column (e.g., the Distinct command).
Can someone help me put this last step together? Thanks!