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 / Get Value from Multipl...
Power Apps
Answered

Get Value from Multiple Choice Column SharePoint List to ComboBox

(0) ShareShare
ReportReport
Posted on by 372

Hello everyone,

 

I have database SharePoint List, the name of column is "Welder ID" and the type is Choice. 

I want to grab value from that database to my ComboBox, I use this formula: 

LookUp('WELDER REPORT', 'Job No' = ComboBox3.Selected.'WBS No' && Assembly = DataCardValue18.Text && 'Joint No' = DataCardValue19.Text, ('Welder ID'.Value))

 

Anyway, the data that I want to grab not just 1 row, but it can more that 1. Because when they has same Job No, Assembly, and Joint No, I want that ComboBox can capture all Welder ID data.

 

Can you help me to solve this problem? Thank you.

Categories:
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @firda59 ,

     

    Please try the following formula:

    Distinct(UnGroup(Filter('WELDER REPORT', 'Job No' = ComboBox3.Selected.'WBS No' && Assembly = DataCardValue18.Text && 'Joint No' = DataCardValue19.Text),"Welder ID").Value, Value).Value

     

    Best regards,

  • firda59 Profile Picture
    372 on at

    Hello @v-jefferni 

     

    I try that formula, but it error, the message is:

    - 'UnGroup' is a recognized but not supported function.

    - The function 'Distinct' has some invalid arguments.

    - Invalid use of '.'

     

    Anyway, this is my database:

    firda59_0-1686208198631.png

    For example, if Joint No has the value "2", Assembly = "70m ....", Job No: "A.23.3010", I want my ComboBox can grab "A.21" and "K.21"

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @firda59 ,

     

    I misunderstood the topic title and consider the Welder ID column allows multiple selections. Please try below formula instead now:

    Distinct(Filter('WELDER REPORT', 'Job No' = ComboBox3.Selected.'WBS No' && Assembly = DataCardValue18.Text && 'Joint No' = DataCardValue19.Text).'Welder ID', Value).Value

     

    Best regards,

  • firda59 Profile Picture
    372 on at

    Hi @v-jefferni 

     

    It still error, this is the error message:

    firda59_0-1686216300588.png

    - The function 'Distinct' has some invalid arguments.

    - Name isn't valid. 'Value' isn't recognized.

     

    By the way, Welder ID in this database has Choice column (not allowing multiple choice)

    firda59_0-1686208198631.png

    and Welder ID from this form which connected to my OutputDatabase has the Choice column (allow multiple choice)

    firda59_1-1686208471487.png

     

    Is it has the effect to my formula? because the configuration not same

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @firda59 ,

     

    According to the error message, Joint No column in the list is of type number. So, change the formula to:

    Distinct(Filter('WELDER REPORT', 'Job No' = ComboBox3.Selected.'WBS No' && Assembly = DataCardValue18.Text && 'Joint No' = Value(DataCardValue19.Text)).'Welder ID', Value).Value

     

    Best regards,

  • firda59 Profile Picture
    372 on at

    Hi @v-jefferni 

     

    It still error, but different error message, like this

    firda59_0-1686217442625.png

     

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @firda59 ,

     

    Try another method:

    Distinct(ForAll(Filter('WELDER REPORT', 'Job No' = ComboBox3.Selected.'WBS No' && Assembly = DataCardValue18.Text && 'Joint No' = Value(DataCardValue19.Text)), {Value: ThisRecord.'Welder ID'.Value}), Value).Value

     

    BR,

  • firda59 Profile Picture
    372 on at

    Hi @v-jefferni 

     

    Not error again, but the value not appear

    firda59_0-1686218269614.png

     

    do you know why this happens?

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @firda59 ,

     

    The formula just defines available choices in the Combo box. Since Welder ID column is multiple choices column in the welding inspection list, the Items should be 

    Choices('Welding Inspection'.'Welder ID')

    and then you need to move the formula in previous post to DefaultSelectedItems property.

     

    BR,

  • firda59 Profile Picture
    372 on at

    Hi @v-jefferni 

     

    Omg, thank you so much! It can work! Thank you for ur help, have a nice day!

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard