Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Values in dropdown menu in the data source, unable to match name = value in data model

Hi,

as i´m new to PBI, we need to solve an issue related to our data source (MS Dynamics).

The data source is connected via WebAPI and in the query see values only, like 620001, but in the data source there is a dropdown menu for e.g. Input channel, and the entry is "Inquiry by mail", but i don´t see this category in the query.

How do we solve this? Where do i find the right category names then?

---

This is the link to the screenshot in Dynamics:

 

 

 

And this is how it looks in PBI query:

 

 

Thanks for your assistance on this topic.

Best,

Johannes

1 ACCEPTED SOLUTION

In CRM to identify the values, you need to go to Settings | Customizations and then Customize the System. This will bring up a window and then you will need to go look at the correct entity and look at the field or option set definition. There you will find out what numbers mean what.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

6 REPLIES 6
Greg_Deckler
Super User
Super User

So, this is what is known as an Option Set in Dynamics. Is this a default field or a custom field? I used to have a listing of all of the default Dynamics Option Set values for just this reason. Basically, you need to go in to Customize the system and take a look at the Option Set definitions in order to determine which values goes with what. Then you need to use an Enter Data query to create a dimension table and link it to your fact table.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

That specific field is a custom field.

By creating the dimension table i need to re-build the whole structure off dozens of dropdown menus - is that the only way?

Where do i find the Options set settings exactly as i´m not the main administrator of Dynamics.

 

Thanks for your help Greg.

Best

Another way would be to do find and replace in Query Editor. 

 

Is this Dynamics CRM or Dynamics for Finance and Operations or another flavor of Dynamics?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thats a Dynamics 365 CRM instance.

But Find & Replace would mean to do the command for each line and for each new line.

---

I´m wondering if our case is solely unique to other Dynamics instances?

 

Any other idea how to get the names for the categories/values?

In CRM to identify the values, you need to go to Settings | Customizations and then Customize the System. This will bring up a window and then you will need to go look at the correct entity and look at the field or option set definition. There you will find out what numbers mean what.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi,

as the solution is at hand, i need to know additionally if its possible to speficy what the query should report.

Normal setup of the query is to deliver the value entity of the table (here: Option set = VALUE), but i need to know if its possible to GET via the query editor the DESCRIPTION entity as well.

 

img_04.png

If you know any solution it would be great if you can share that with me.

Maybe its also possible to GET the LABEL entity instead of the DESCRIPTION?

 

No idea how to change the query editor in terms of not getting the VALUE only.

Thanks for your help!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.