I have a gallery with an image control. I am displaying any one of 4 images depending on specific values in the gallery items. At the very least it should be displaying the dot. The properties ship, called and hit are all true/false.
Switch(ThisItem.Ship,
true, If(ThisItem.Called && ThisItem.Hit, "Fire",
ThisItem.Called && !ThisItem.Hit, "Radar",
"BlueAnchor",
false, "Dot")
)
The images are uploaded to Power Apps. There are no errors in the switch statement, but no images are being displayed either. I have tried using the Image name with and without the .png at the end. This same switch statement works fine if I use an icon rather than an image.