web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

TABLE ACCES CRM - INFORMATION Field jav_leaddepartementcode (POWERBI)

(0) ShareShare
ReportReport
Posted on by 35

hello

For a Pbi connexion I need to find the source Table for :  VALUE

Field : jav_leaddepartementcode

The information : value !!

jav_5F00_leaddepartementcode.png

jav_5F00_leaddepartementcode-2.png

Thank's for your help

Best regards

I have the same question (0)
  • Suggested answer
    Francisco Murtinheira Profile Picture
    on at

    Hello,

    Since you seem to be using a global option set on your field, you can find it's definition in the following API, which contains a "options" attribute with all the details about the values and labels of the option set.For example in the image below I query an out of the box global option set for it's definition.

    /api/data/v9.1/GlobalOptionSetDefinitions

    pastedimage1610531254405v2.png

    Hope this helps.

  • AA_1995 Profile Picture
    35 on at

    Hello

    Thank's a lot

    Best regards

  • AA_1995 Profile Picture
    35 on at
    Hello i have everything i want with the following link: XXXX.api.crm4.dynamics.com/.../ but I can't find the info that is here Could you help me please cordially

    269bafc9_2D00_df4e_2D00_4109_2D00_91a7_2D00_88b0d36d44f8.jpg

  • Francisco Murtinheira Profile Picture
    on at

    Hello, seems like you are using an option set field but with a local option set this time.
    For that you can find it with a more advanced query, see the example below. You will need to change the attribute id and logical name of the entity to fit your scenario.

    /api/data/v9.1/EntityDefinitions(LogicalName='new_a')/Attributes(bbc0aae8-9a5c-eb11-a812-000d3ab1c99f)/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet

    pastedimage1611313184089v1.png

  • AA_1995 Profile Picture
    35 on at

    Hello

    it's perfect

    Thank's a lot for your very quick answer

    Best regards

  • AA_1995 Profile Picture
    35 on at

    Hello

    Thank's a lot for your very quick answer.

    Best regards

  • AA_1995 Profile Picture
    35 on at

    hello

    https://xxxxx.api.crm4.dynamics.com/api/data/v9.1/EntityDefinitions(LogicalName='new_agence')/Attributes(9bc06e2b-727f-e811-a846-000d3a2900a9)/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet

    logical name : new_agence

    Attributes : 9bc06e2b-727f-e811-a846-000d3a2900a9

    see pictures

    2061.Info.pngBut I have this error ??

    erreur.png

    New_Agence is not in the listing of LOGICAL NAME !!

    XXXX.api.crm4.dynamics.com/.../EntityDefinitions() eq true

    or

    XXXX.api.crm4.dynamics.com/.../EntityDefinitions()

    Do you have a idee please ?

    Thank's

    Best Regards

  • Francisco Murtinheira Profile Picture
    on at

    Hello,

    new_agence is the name of the attribute. You need the logical name of the entity where the attribute is on for the query above to work.

    The way the query works is you fill in the logical name of the entity and then the attribute id.

    https://xxxxx.api.crm4.dynamics.com/api/data/v9.1/EntityDefinitions(LogicalName='new_agence')/Attributes(9bc06e2b-727f-e811-a846-000d3a2900a9)/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet

  • AA_1995 Profile Picture
    35 on at

    hello thank's ..

    the localname is 'account' :)

    https://XXXX.api.crm4.dynamics.com/api/data/v9.1/EntityDefinitions(LogicalName='account')/Attributes(9bc06e2b-727f-e811-a846-000d3a2900a9)/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet

    or

    xxxx.api.crm4.dynamics.com/.../OptionSetOptions

    But I have a error on Powerbi import Odata flux .. do you work with PBI ??

    PBI-ERROR.png

    Best regards

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 61 Super User 2025 Season 2

#2
Satyam Prakash Profile Picture

Satyam Prakash 24

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 24

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans