cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sbossler_079
Helper I
Helper I

Combobox default values from SQL

Hi all,

 

within my powerapp I have a gallery with a multi select combobox.

 

While having a form for new items this works perfectly: the values are being added into a column of my SQL table divided by a ",".

 

However I'm still struggling to display the values again within an edit form.

 

How can I display my values from the specific column (which are divided by a comma) as default values within my combobox?

 

KR,

Sebastian

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @sbossler_079 ,

You need the Split function, but you need the current record (it will only do text, not a table) as it is tuning your text into a table.

Split(
   ThisItem.YourSQLColumnName,
   ","
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

3 REPLIES 3
WarrenBelz
Super User
Super User

Hi @sbossler_079 ,

You need the Split function, but you need the current record (it will only do text, not a table) as it is tuning your text into a table.

Split(
   ThisItem.YourSQLColumnName,
   ","
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

This worked perfectly! Thank you very much for the support.

Thanks @sbossler_079 ,

Please Accept as Solution so others with the same question can find it more easily. It also closes the item.

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.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

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 (3,503)