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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Passing a multiple cho...
Power Apps
Answered

Passing a multiple choice dropdown values to HTMLText

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

  I am trying to add a print to email flow and cannot seem to pass the values of multiple choice dropdowns to my HTMLText.  When multiple values are selected, there is an error squiggle under Value.. the error being " Invalid Argument Type. Expecting one of the following: Text, Number, Boolean"

 

I have a dropdown where multiple selections can be made, called "Stations" with 4 choices and am using this "&ThisItem.Station.Value&" to no avail.  Any help would be greatly appreciated.

 

Screen Shot 2018-07-17 at 4.16.54 PM.png

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Anonymous. Looks like may be missing the "Selected" term in there. 

     

    Try this: 

     

    ThisItem.Station.Selected.Value.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    While I have your ear, a best practice is also to eliminate spaces (" ") from your Sharepoint list column names so you don't have to contend with those pesky "_x0020_" values in your formulas. 🙂

     

    Try camelCase or under_scores.

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you for your suggestions! This is my first PowerApp, and taking care of those spaces is certainly something I will do going forward.

     

    "Station.Selected.Value" wasn't working, and ".Value" only worked in the case of a single choice dropdown.  I found a solution using the Concat function that returns all selected values in the output HTML.

     

    Screen Shot 2018-07-17 at 10.12.46 PM.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Wow this is really cool. Can I ask you: Is this a dropdown control or a combobox? It looks like you are selecting multiple items; I've only seen this possible with a combobox. Want to know if i'm missing out on something :). 

     

    Thanks

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It's a combo box! Still familiarizing myself with the various in's and out's of PowerApps, but so far it looks to have alot of potential.

  • todurant Profile Picture
    98 on at

    Good job this help me. BTW this also works if you are using a Gallery item with a person lookup. This might help someone else searching for this solution. 

    Concat(Gallery_AssignedItems.Selected.'HR Approvers'.DisplayName, DisplayName&", ")

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard