cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AInglis
Advocate III
Advocate III

Accessing CDS Optionset Labels in Excel Power Query

Hi All,

 

I am trying to access CDS data in Excel Power Query by using the Dynamics365 connector here.

 

I can retrieve my custom entity data, but I am having issues finding my fields optionset labels to link to the numeric values listed on my Entity records.

 

I can see an optionset table, however it will not load giving the following error.

 

DataSource.Error: OData: Request failed: The remote server returned an error: (400) Bad Request. (The 'RetrieveMultiple' method does not support entities of type 'optionset'.)
Details:
DataSourceKind=OData
DataSourcePath=https://xxxxxxxxx.api.crm6.dynamics.com/api/data/v9.1/optionsets
Url=https://xxxxxxxx.api.crm6.dynamics.com/api/data/v9.1/optionsets

 

Can anyone point me in the right direction

 

I can see the optionset display labels when I use the CDS connector from PowerBI, however using PowerBI is not an option for this project initially.

 

Thanks in advance

3 REPLIES 3
alrez
Microsoft
Microsoft

Hi,

 

This error is usually associated with people incorrectly sending data over from Power BI. There must be some kind of formatting issue that is not being accepted by PowerApps. I am not certain exactly what would be causing this. This might be a better question to bring to the Microsoft Support team, they can probably do better error tracking then I can. I'll include a link below;

 

If you would like to create a ticket with Microsoft Customer Support here is a link on how to do so: https://docs.microsoft.com/en-us/power-platform/admin/get-help-support

 

Regards,

 

Alex

 

-------

 

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

@DavidJennaway  Thanks for your response.

 

Not sure if it's the API version i'm using, but my data source does not have a PickListMappingSet table as indicated in your linked article. There is a picklistmappings table however it contains no data.

 

For now I have hard coded in the Optionset id and label to tables in my excel model.

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.

Users online (2,055)