cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JB0007
Helper IV
Helper IV

Transform table data as text data

Hi Power Apps community,

 

I am building a simple app that returns data from SharePoint list. The data is in a Gallery that when an item is selected, more information about that item is shown. However, I have 2 columns in SharePoint list that the data is structured as data. So when I try to return the data from these tow columns I receive the following error: "Expect Text value". 

 

I have tried many workarounds but no success.

 

Does anyone know how to fix this?

Any help will be much appreciated. 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @WarrenBelz thanks for your help and reply. 

 

The App is working now fine. I have change the TextInput, that needed to return the data, and I have used a List Box. Now the data is showing.

 

Thanks again for your help.

 

View solution in original post

6 REPLIES 6
WarrenBelz
Super User III
Super User III

Hi @JB0007 ,

When you say structured as data, what type of data? If a choice or lookup field, it is FieldName.Value

 

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.

Hi @WarrenBelz  thanks for the reply.

 

I meant the data is structured as Table. 

@JB0007 ,

What sort of table and what are you trying to write to it?

Hi @WarrenBelz ,

 

Actually I didn't create the list myself, but I assume the column in SharePoint is created using a Check Box function in the list itself. So you can select the choices direct in SharePoint. However, I need to create a a version of that in Power Apps. I don't need to write anything back in list. But if a use a Label or TextInput and set its Text/ Default to e.x. Gallery1.Selected.Documents, it returns an error "Expect Text Value". 

Hi @JB0007 ,

Please send me a screenshot of your field definition in SharePoint and highlight the field you are trying to write to.

Hi @WarrenBelz thanks for your help and reply. 

 

The App is working now fine. I have change the TextInput, that needed to return the data, and I have used a List Box. Now the data is showing.

 

Thanks again for your help.

 

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,300)