Problem: I want to show/hide a field based on the content of a field in an EXTENDED lookup column.
I have the following two lists:
LIST 1: "*Opgaver*"
COLUMN: "*Opgave*"
COLUMN: "*Område*"
LIST 2: "*Tidsregistrering*"
COLUMN: "Aktivitet"
COLUMN: "Underområde"
COLUMN: "Opgave" (lookup)
COLUMN: "Opgave: Område" (extended lookup based on lookup)
I use Power Automate to ensure that all involved columns are available in text format (just a sidenote to avoid confusion).
In list 2 I only want to show the field pertaining to "Underområde" if the field in column "Opgave: Område" in list 2 has a certain content. I have tried to use the following formular from Microsofts learning material:
=if(substring([$Opgave: Område],indexOf([$Opgave: Område],';#')+2,1000) == 'Toronto', 'true', 'false')
But this results in the error message "Use valid condition". I am unable to figure out if this is caused by a faulty reference ($Opgave: Område) or it is due to the fact that I simply cannot use an extended lookup column for conditional logic.
Please help - TIA