Skip to main content

Notifications

Power Platform integration forum
Suggested answer

Multi Choice select column from Dataverse in a flow

editSubscribe (0) ShareShare
ReportReport
Posted on by 2
 

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?

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

  • Jennifer23 Profile Picture
    Jennifer23 2 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

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 223,155 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans