cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

Custom sort combobox

I need to custom sort by combobox. This is what I have in my onvisible for the combobox ollect(
coll,
Sort(
Distinct(
GUAT2,
Scenario
),
Result
)
). This isn't working because one it gets to Scenario 10 it puts it at the top but it needs to be in order or ascending numbers. I was trying something like this but couldn't get it to work. SortByColumns(GUAT2, Scenario, [ Scenario 1, Scenario 2, Scenario 3]). I have 14 scenarios.

1 REPLY 1
Highlighted
Microsoft
Microsoft

Re: Custom sort combobox

Hello @powerapps890 

I understand that you are looking to have a type of "Sort order", have you tried to add the SortOrder.Ascending function to your formula?

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-sort#syntax

 

If I misunderstood, could you please elaborate more in your question? How does the list is displaying if you enter the 14 scenarios? Could you post an screenshot?

 

Thanks.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,977)