I have a list which is called users in it I have a field called name and another called mail
I need that with a button of powerapps randomly choose one of these users and show the name and email in labels
to make me understand it's a raffle
Go to Solution.
You could use the Shuffle function to do this. This function randomly re-orders a table.
In the OnSelect property of your button, you can store the first record of the shuffled table in a variable.
On your labels, you can use RandomRecord.Name and RandomRecord.Email to display the fields.
View solution in original post
Check it out!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020