cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Marty3012
Helper II
Helper II

Share Point Single line of text column in Gallery - Add to ListBox problem

Hi, I have created a Gallery called 'Gallery1_1'. Items are set as follows;

 

Filter([@'SharePointListName'], StartsWith('ColumnA', ComboBox1.Selected.Result))

 

So I'm taking a value selected in 'ComboBox1' and then searching for it in the column 'ColumnA' which is in the SP List 'SharePointListName'. I have also created a ListBox and added the following to its Items;

 

ListBoxText1.PNG

 

This works since the column 'Dependencies' is of type lookup. I have tested the same code above with Columns that are of the type Person or Group, Choice etc. However, when I try to select a column of type Single line of Text I get the following;

 

ListBoxText2.PNG

 

The column 'Component Name' is the single line of text type and this only happens for this type. Would anyone know why this is? I've looked into various alternatives and I'm non the wiser. Any help appreciated.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@Marty3012 

This is because you are providing a Text value to a property (Items) that expects a table or a record.  Text cannot be converted to a table or record...thus the error.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

1 REPLY 1
RandyHayes
Super User
Super User

@Marty3012 

This is because you are providing a Text value to a property (Items) that expects a table or a record.  Text cannot be converted to a table or record...thus the error.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

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 (4,058)