cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Caroline
Level: Powered On

AllowedValues and DataSourceInfo

I have just uploaded an app into a new environment so that I can use entities that are in the CDS for Apps, however datacards seem to have an issue with data that has been selected from an option set. This wasn't an issue with the original app where picklists inthe CDS V1 were used.

The error I get is:

 

The columns produced by this rule are all nested tables and/or records, however the property expects at least some columns of simple values.

 

I think it is the AllowedValues that is causing the error:

 

DataSourceInfo('Learner details', DataSourceInfo.AllowedValues, 'Work & Income Site Value')

 

Does anyone have any ideas on how to fix this?

 

Cheers

2 REPLIES 2
Community Support Team
Community Support Team

Re: AllowedValues and DataSourceInfo

Hi @Caroline,

 

First of all, I'd like to confirm that if 'Learner details'  is the CDS entity name. Then what is the DataType of Work & Income Site Value' field? Please share the detailed configuration of this entity.

Is it a local or glabol option set? 

Which property did you put this formula?

 

Regards,

Mona

 

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Caroline
Level: Powered On

Re: AllowedValues and DataSourceInfo

@v-monli-msftYes, 'Learner Details' is the entity name. The option sets were created some time ago, before there was the option of having global or local ones, so I would assume that they are all global.

'Work & Income Site Value' should probably by 'work & Income Site', as that is the column name.

This is in the Allowed Values property of the data card.

Helpful resources

Announcements
SecondImage

Join our Live PowerApps Webinar

Tomorrow, September 24st at 10am PDT

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 319 members 4,966 guests
Please welcome our newest community members: