cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nmoffatt
Helper III
Helper III

Set Quantity Dropdown List with number range

Hi,

 

I'm looking to add a simple Dropdown List to select "Quantity" with a number range. Is there a simple way to do this without creating a table with the numbers?

 

This seems so simple that its hard to find an answer to lol 

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@nmoffatt 

I am not sure entirely what you mean on the range of numbers.  If you mean a sequential list of numbers then yes...you can set your items property of your dropdown to:

Sequence(maxNumber)

This will produce a list from 1 to the maxNumber you specify.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

6 REPLIES 6
RandyHayes
Super User
Super User

@nmoffatt 

I am not sure entirely what you mean on the range of numbers.  If you mean a sequential list of numbers then yes...you can set your items property of your dropdown to:

Sequence(maxNumber)

This will produce a list from 1 to the maxNumber you specify.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

That did it! Thank you @RandyHayes 

blankity blank

RandyHayes
Super User
Super User

@JSnapp 

Is your reply related to this post or to your other post you started?

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Great Answer!! Do you know a way of setting the minumum number as well? i.e. a sequential range of 75 through 150?

I found the answer for anyone looking.

https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-sequence

 

The help file is great if you know what you are looking for!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,420)