Hello,
We are populating the Items of a dropdown box with the calculation below. This works fine.
Sort(Distinct(Filter('MyLookup', LookupType=LookupType.Selected.LookupTypeName), FinalName),Result,Ascending)
But, we would like the filter logic to be different based on the value in the LookupType dropdown:
LookupType=LookupType.Selected.LookupTypeName
i.e. If (LookupType.Selected.LookupTypeName="x" Filter by "x"
ELSE If LookupType.Selected.LookupTypeName="y" then do not apply ANY filter - show everything.
I've tried various methods of doing this but none have worked.
Any help appreciated.
Thanks,
Dan