Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Where are the Choices Stored for a Field

(0) ShareShare
ReportReport
Posted on by 5

I am using Power Query to get data for a report from Dynamics CRM. The data I want is in the Opportunity table. Several of the fields I am interested come from choice fields and the values in the table for the options are numeric values. I want to know where to find the option descriptions.

For example, the SalesStage can have one of four values - 0, 1, 2, 3 for Qualify, Develop, Propose, and Close. 

On my report I don't want to show 0, 1, 2, 3. I want to show Qualify, Develop, Propose, and Close. Of course I don't want to hard code the values in the report.

Where in the CRM database are the choice values stored?

  • JohnData Profile Picture
    JohnData 5 on at
    RE: Where are the Choices Stored for a Field

    Thanks Mehdi

    The picklistmappings had the values. It worked fine.

    Thanks also for the link to the other article. It will work even better when I do some Power BI reports.

  • Verified answer
    meelamri Profile Picture
    meelamri 13,206 User Group Leader on at
    RE: Where are the Choices Stored for a Field

    Hi,

    I just checked on my environment. I don't see the stringMap table. However, I can access PickListMapping instead.

    Please refer to this blog: jukkaniiranen.com/.../

    Good luck !

  • JohnData Profile Picture
    JohnData 5 on at
    RE: Where are the Choices Stored for a Field

    I don't see a stringmap table:

    pastedimage1620076210010v1.png

    Is there something I have to do to make it visible to Power Query?

    The blog by Mark Carrington looks like a great solution except that I am using Power Query in Excel rather than Power BI and there is no Dataverse connector in Excel. It works great in Power BI but the people wanting the report are used to Excel. 

  • Suggested answer
    meelamri Profile Picture
    meelamri 13,206 User Group Leader on at
    RE: Where are the Choices Stored for a Field

    Hi, 

    All Choice values are stored in the StringMap Table. Please refer to the example below: 

      
        
        
        
        
          
          
        
      
    

    Result: 

    pastedimage1620074109843v1.png

     Mark Carrington shared a great blog about this topic: markcarrington.dev/.../

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans