I have a power app with a list on Sharepoint. I am visualizing my list via a Gallery.
I want to put the select button of the Gallery to Navigate to different screens depending on whether I have an attachement or not in my list.
My formula for now at OnSelect is: If(MyList.'Has attachments' = true, Navigate('ScreenA'), Navigate('ScreenB')
But it does not work. The error is: Invalid argument type.
Any suggestions?