I have a patch function which should write in a Sharepoint List the value for "Compiled" if it is not blank, or the value for "Median" if else.
I wrote the following statement for the patch:
Patch(results;First(Filter(results; ID= compiled_ID ) ); { evaluation: If(IsBlank(compiled);median;compiled)})
For some reason, it only works on reverse:
Patch(results;First(Filter(results; ID= compiled_ID ) ); { evaluation: If(Not(IsBlank(compiled));compiled;median)})
Does anyone have an explanation for this? Is it a known bug?
Thanks!

Report
All responses (
Answers (