Hi @IanP87
Update the Variable on Gallery Selection. Instead of setting the variable only once when the button is clicked, you could update the variable each time a different record is selected in the gallery.
Try setting the variable in the OnSelect property of the gallery items.
Set(varformselection, ThisItem)
If you have any questions or feedback, please let me know. Have a great day! 😊
-----------------------
PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]
I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻