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 Apps
Answered

Sequence function

(0) ShareShare
ReportReport
Posted on by 65

Hi. I have a table with a numeric column.

I want a dropdownbox to get a number from this column and list all number from 1 to to the recorded number.

How to achieve this?

Thank You.

Categories:
I have the same question (0)
  • Verified answer
    Nicbo Profile Picture
    145 on at

    If you are displaying the table in a gallery and want a dropdown on each row you can use  Sequence(ThisItem.RecordedNumber)

    If your dropdown is outside of the gallery you can use Sequence(GalleryName.Selected.RecordedNumber)

    Hope it helps!


  • Verified answer
    SpongYe Profile Picture
    5,903 Super User 2026 Season 1 on at

    Hi @BrosJr 

     

    To achieve your goal, you can use the following steps

    1. Create a dropdown control and set its Items property to your table column that contains the numbers.
    2. Create another dropdown control and set its Items property to 

     

    ForAll(Sequence(Dropdown1.Selected.Value), Value)

    This will create a table of numbers from 1 to the selected value in the first dropdown.

     

    • You can now use the second dropdown to select any number from the generated sequence.

    SpongYe_0-1698260400615.png

     

    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! 🍻

  • BrosJr. Profile Picture
    65 on at

    Thank you, It worked like a charm

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 404

#2
timl Profile Picture

timl 344 Super User 2026 Season 1

#3
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

Last 30 days Overall leaderboard