Hi @Anonymous ,
Have you try the following formula within your Gallery Items property?
Sort(
Distinct(
Search(
Table1;
REC_BASE_CLIENT_SAISIE.Text;
"CLIENT_NOM"
);
CLIENT_NOM
);
Result; // Type Result formula here
Ascending
)
According to the issue that you mentioned, I think the above formula could achieve your needs. Please set the Items property of the Gallery to above formula.
Within your Gallery, please set the Text property of the Label to following:
ThisItem.Result
Note: Because, you have applied the Distinct function to your Search result, you could only reference the Result column value inside your Gallery.
If you also want to display related "TELEPHONE" column value in your Gallery, please consider try the following workaround:
Add another Label inside your Gallery, set the Text property to following:
Concat(
Filter(Table1; CLIENT_NOM = ThisItem.Result);
TELEPHONE & "; "
)
Please try above solution, check if the issue is solved.
Best regards,