cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kosenurm
Super User
Super User

Default selected row in drop down not working

Hi there, 

 

I have a label which contains a value limited by comma.... so "A,B,C"

 

I have drop downs which use the split function to put A, B, C into rows.

 

I want to change the default of the drop down to the first, second and third rows (A being row 1, B being row 2 etc). So I have changed the Defaults to "1", "2", and "3".... but the dropdowns continue to just display the first row only.

 

Any ideas?

 

Thanks

K

 

1 ACCEPTED SOLUTION

Accepted Solutions
BCLS776
Super User
Super User

Try this:

Last(
    FirstN(
        Split(Label1.Text,",")
        ,2 // Change this number to select which item in the Split list you want
    )
).Result

Is that what you are after?

 

Bryan

 

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
BCLS776
Super User
Super User

Try this:

Last(
    FirstN(
        Split(Label1.Text,",")
        ,2 // Change this number to select which item in the Split list you want
    )
).Result

Is that what you are after?

 

Bryan

 

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

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.

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,980)