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

SharePoint List Multi-choice column in Datatable showing error

1- I have created a multichoice column in SharePoint Online List and other columns also

2- created a Power app and inserted a data atble inside it to show data

3- created connection and added some column with multi choice column and its showing below error and after clicking on details it showing below

 

2.png

Untitled.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @vishalgoyal2472 

 

This is happening because Data Table expects its values to be text. As an alternate to this, you can directly refer to the column by placing the expression on Text property of the column as:
 
Concat(ThisItem.'Issue/Objective Type',Value,",")
 
Here, Value is the column that holds text value for choice type fields.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

3 REPLIES 3
RezaDorrani
Dual Super User II
Dual Super User II

@vishalgoyal2472 

 

Data tables dont work with complex types

you can create a collection and add a new column to store that value and use the collection in data table

 

example:

ClearCollect(colData,AddColumns(datasource,"CountryText",Concat(Country,Value&",")))

 

In my case Country is the multi select column

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

yashag2255
Dual Super User II
Dual Super User II

Hi @vishalgoyal2472 

 

This is happening because Data Table expects its values to be text. As an alternate to this, you can directly refer to the column by placing the expression on Text property of the column as:
 
Concat(ThisItem.'Issue/Objective Type',Value,",")
 
Here, Value is the column that holds text value for choice type fields.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Thank You for your response,

 

We tried with your approch by creating new collection and adding columns insude it.

 

ClearCollect(IssueObject,AddColumns('Issue Objection Assignments',"Edit","Edit","IssueObjectType",Concat('Issue/Objection Type',";")))

 

 

But , Now the datatable is showing only ;;; and not val1;val2;val3

 

Any thought what we did wrong?

 

 

Thanks

Sith

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

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