cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dudditz
Level 8

Displaying Multi Select Option Set in Gallery

I have a field in a CDS entity using the Multi Select Option Set.  This works as expected in a form which allows you to select multiple Years, example 2017, 2018, 2019.  The data in forms is dispayed showing the year.

 

I have a gallery that is connected to this entity and this same option set is returning the following error "The Property expects text values, but this rule produces incompatible table values"

 

It looks like the data is actually stored as a numerical value as seen below and I assume this is what is returning to the gallery.  I am looking for some direction as to the proper way to display the actual name value of this Multi Select Option set within a gallery.

Year

530160001,530160003
2 ACCEPTED SOLUTIONS

Accepted Solutions
Dudditz
Level 8

Re: Displaying Multi Select Option Set in Gallery

Resolved this by using the following.

 

Concat(ThisItem.Year, Text(Value),",")

View solution in original post

Community Support Team
Community Support Team

Re: Displaying Multi Select Option Set in Gallery

Hi @Dudditz ,

Have you solved your problem?

 

Please also take a try with the following formula:

Concat(ThisItem.Year, Text(Value)&", ")

Or

Concat(ThisItem.Year, Text(Value)&" & ")

If you have solved your problem, please go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Dudditz
Level 8

Re: Displaying Multi Select Option Set in Gallery

Resolved this by using the following.

 

Concat(ThisItem.Year, Text(Value),",")

View solution in original post

Community Support Team
Community Support Team

Re: Displaying Multi Select Option Set in Gallery

Hi @Dudditz ,

Have you solved your problem?

 

Please also take a try with the following formula:

Concat(ThisItem.Year, Text(Value)&", ")

Or

Concat(ThisItem.Year, Text(Value)&" & ")

If you have solved your problem, please go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,946)