Hi Dave,
This is a good Question and you are most of the way there.
I've been able to get this functionality working using the following:
If(
!IsBlank(Gallery1.Selected),
Gallery1.Selected.Name,
If(
!IsBlank(Gallery1_1.Selected),
Gallery1_1.Selected.Name,
"none"
)
)
The only issue you will have is that the Gallery.selected value needs to be reset. I've done this by setting the Default for the galleries as a variable (GalleryReset)
UpdateContext({GalleryReset:{}});Reset(Gallery1);Reset(Gallery1_1)
I've included my messing about with sample to help you get started.
If you hit reset, the IFGalleryValue will be none. If you select Gallery1_1 (Right Most) it will change to this selected name. If you then select from Gallery1, it will change to this value even if the second gallery is also selected.
Hope this helps,
Nicky