Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Split values dynamic

(0) ShareShare
ReportReport
Posted on by 178

Hi Guys,

 

Have a drop down selection. Item values will vary depending on what's in a collection. 

 

example of selections: 400/800:5, 900/1000/600:8, 200/400:6

 

So if a user selects 400/800:5 I need to separate values as

Value

400/5

800/5

 

If a user selects 900/1000/600:8

Value

900/8

1000/8

600/8

 

Need these values in a collection all in one column.

 

Any help is greatly appreciated.

 

Thanks

  • Verified answer
    Re: Split values dynamic

    Hi @christian12 ,

    Please try:

     

    OnChange: 

    ClearCollect(CollectMyRequests,ForAll((Split(First(Split(Dropdown6.SelectedText.Value,":")).Result,"/")) As a,Concatenate(a.Result,"/",Last(Split(Dropdown6.SelectedText.Value,":")).Result)))

     

    vchengfenmsft_0-1675393548133.png

     

     

    Best Regards

    Cheng Feng

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard