web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Random 6 Alphabet for ...
Power Apps
Answered

Random 6 Alphabet for Document Number

(0) ShareShare
ReportReport
Posted on by 22

Hi,

I need to create random 6 alphabets from A-Z & I figured it out to use ClearCollect function

 

 

ClearCollect(colAlphabet, Split("ABCDEFGHIJKLMNOPQRSTUVWXYZ", ""));
ClearCollect(colThreeLetters, FirstN(Shuffle(colAlphabet), 6));

 

 

How to extract this result to text label?

ramadhanira_0-1694765303724.png

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    AndrewR1 Profile Picture
    1,572 Moderator on at

    Hi @ramadhanira I would do the following: 


    Set(DocRand,Concat(colThreeLetters,ThisRecord.Value))



    Then set the Text Label to be DocRand

    My Example:

    AndrewR1_0-1694766276188.png

     



    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

     

    Many Thanks
    Andrew

     

     

  • ramadhanira Profile Picture
    22 on at

    Thanks a lot @AndrewR1 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard