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
Unanswered

Split table value

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone!

I'd like to put the content of a text box into a combo box split by commas.

 

I am using the below code but there is no splitting of the text. I've tried using the split function but 

 

Table({Value:Gallery1.Selected.WereAnimalsInvolved})

Lauren__0-1618402559987.png

 

I've tried putting the text into a data table and splitting that to no avail.

 

Split(DataTable1.Selected.Value,",").Result

Lauren__2-1618402838951.png

Any advice you can offer would be greatly appreciated 🙂

Categories:
I have the same question (0)
  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @Anonymous ,

    I guess you want to do like this,

    Ethan_R_1-1618404444174.png

    I used the TextBox's OnChange property : UpdateContext({varTemp: Self.Text})

    For Combobox items property: Split(varTemp, ",")

     

    Hope this helps.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Ethan, thanks for replying! That's roughly what I want it to do yes, the initial information in my combo box is coming from a pre-filled form selected via a gallery (Gallery1), however there are additional values I'd like the user to see if they need to edit it, e.g. if they select No initially but then change their mind, they need to be able to unselect No and instead Select Yes and another like Dog.

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @Anonymous ,

    I still haven't got your point but as much as i understand,

    1. If User wants to edit the response, save Yes into a variable then display the combobox with DisplayMode.Edit and if No then make combobox as DisplayMode.view.

    2. If you want to dynamically show the field onto form based on If(AnimalsWereInvolved = "Yes", true,false) then this condition will be suitable on Combobox visible property.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Ethan, thanks for trying to help, I think maybe I'm trying to do the impossible. This field that I am trying to split out was originally put together by two different fields on form submission, a "YES/NO" option and an animal species option (which is only available if YES selected), so it could just be "No," or it could be "Yes, Dog, Cat,"

     

    I wanted to split it out in a post-submission review in case the user had missed something 🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,055

#2
Valantis Profile Picture

Valantis 666

#2
11manish Profile Picture

11manish 666

Last 30 days Overall leaderboard