
Hi all,
I have a label WinnerIs and button Btn_Go. When Btn_go is clicked it will display names (WinnerIs). NameLIST is my sharepoint list that stores unique number and column name is List_ID. How do I display only ten winners?
Below are the codes that I have on my button.
Set(WinnerIs,First(
Shuffle(NameLIST)
).'List_ID');
Try this:
Set(WinnerIs,
Concat(
FirstN(
Shuffle(NameList.'List_ID'),10
),
'List_ID',
" "
)
)Hope that helps,
Bryan