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 :
Power Platform Community / Forums / Power Automate / Forms Survey multiple ...
Power Automate
Unanswered

Forms Survey multiple selection answers and other utilizing Power Automate into CRM Sales

(0) ShareShare
ReportReport
Posted on by 10

Need suggestion on how to handle the following Forms Survey into CRM Dynamics via power apps:

 

Forms (Mutiple choice selection and Other entry) example:

 

DSonderhouse_0-1673651165492.png

The answer comes in like or more complex adding Other entry:

DSonderhouse_1-1673651213616.png

 

 

Currently using Excel one drive to map to CRM Choices:

 

Example Table Ethnicity:

Selection: Choice Option

African 17000000

Asian 17000001

ETC

Other  1700008

 

This maps in power automate to the CRM Integer needed.  Other and Single entry works great but cannot get multiple selections to work.

 

What option would split out the variable choice options:  ["Asian", "African", "Other Text Write in"] so they can be independently looked up in Excel to get corresponding row?

 

These are the steps I am taking in Power Apps:

 

Initialize Var

Initialize Var Other

Compose Var 1

Trim Outputs of Compose Var 1 to remove [ ]

Set Var 1 to outputs of Trim Compose

Set Condition 

If Var 1 is equal to African or Asia etc...

Flow to Yes Condition Met Else not met and is other and set Write in text to Var Other and Var 1 to Other

Then get row from excel based on outputs of this condition.

 

Somewhere I need to Count and Split the String and then determine how to store multiple answers in Add a Row to Dataverse

 

"Asian", "African", "Other Text"

Splits out and looks at each line in excel and then translate to 1700000, 1700001, etc (Int Values)

 

Thanks for pointing me in the correct direction on this.

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @DSonderhouse  What option would split out the variable choice options:  ["Asian", "African", "Other Text Write in"] so they can be independently looked up in Excel to get corresponding row?

     

    First use replace() to remove [,]," with '' (single quotes without space) and then use split() based on separator comma (,) then you will get array of all elements from this string  after that use get row from excel based on each array element.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard