Skip to main content
Power Platform integration forum
Suggested answer

Multi Choice select column from Dataverse in a flow

editSubscribe (0) ShareShare
ReportReport
Posted on by
 

I am currently attempting to grab the actual labels of a multichoice selection Column of a Dataverse table and send them in an email. However, I can not get just one label. I have seen in other areas that if it is just a single choice table you can initialize a variable and use a switch however this does not appear to be an option for multi-selection. How should I go about this?

////////////

Attachments
  • CU06051658-0 Profile Picture
    CU06051658-0 on at
    Multi Choice select column from Dataverse in a flow
    Hello no the solution did not work for me, I ended up filtering the arrays to get the departments
  • Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Multi Choice select column from Dataverse in a flow
    Hi,
     
    Has the issue been solved?
    Have there been any updates? Please feel free to ask me if you have any questions!
    If it has been resolved, can you mark the response as an answer?
     
  • Suggested answer
    Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Multi Choice select column from Dataverse in a flow
    Hi,
     

    You can get all the labels for a specific multi-select option set in a specific entity by sending a GET request to the following address.


    [Organization URI]/api/data/v9.2/EntityDefinitions(LogicalName='[Entity Name]')/Attributes(LogicalName='[Your Field Name Which uses OptionSet]')/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet($select=Options),GlobalOptionSet($select=Options)

    In my testing, I get all the labels of the Forecast category option set in the Opportunity entity.

     

    This can be implemented via power automate flow. 

     

    body('HTTP')?['OptionSet/Options']
    items('Apply_to_each')?['Label/LocalizedLabels'][0]['Label']

     

    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me .
     
    Best Regards,
    Dengliang Li
    ​​​​​​​

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Demystifying Copilot with Sundar Raghavan

Sundar explains how Copilot for Service is meant to function separately...

Business Process Guidance Badges and New…

The Microsoft Success by Design is the framework for implementing Dynamics 365…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,281 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,025 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans