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 / ComboBox data change b...
Power Apps
Unanswered

ComboBox data change based on the Label data

(0) ShareShare
ReportReport
Posted on by 538

ComboBox data changes based on the Label data (Full Cases or Single Unit)  .

 

Example : If label is 5449000200761 then ComboBox should display 3838383 and similary if label is 5449000200747 then ComboBox should display 3838383

 

 

MaterialMaterial DescriptionFull casesSingle  Unit
9839393BGS154490002007165449000200754
3838383BGS254490002007475449000200761

 

How to achieve this,

Categories:
I have the same question (0)
  • PatilChetan Profile Picture
    on at
  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at

    HI @AVTS ,

    I am not exactly sure what you need here as (I assume) you have a couple of errors in the examples and a combo box normally displays a list if items (not a single value). I will cover both - firstly if you are after the single value 9839393, where the Label is 5449000200716 showing 'Full Cases'it would be 

    LookUp(
     YourListName,
     'Full cases' = YourLabelName.Text
    ).Material

    if there was more than one matching item and you wanted a list of them, replace LookUp with Filter.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at

    Hi @AVTS ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • AVTS Profile Picture
    538 on at

    Hi Warren,

     

    i am getting following error, Expected table value

     

    LookUp(Table2,'Full cases'= Label8.Text).Material.

     

    Summary :  ComboBox is used for two purpose . Purpose 1. list down the material from Tabel2  and Purpose 2. Shuffle the material based on the Label8 input which is from barcode scanner.

     

    Tabel2 details follows

    MaterialMaterial DescriptionFull casesSingle  Unit
    9839393BGS154490002007165449000200754
    3838383BGS254490002007475449000200761

     

    If barcode value(5449000200747) in label8 then comboBox should display material no 3838383.

  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at

    @AVTS ,

    Where are you putting that code? If in a gallery, just drop the .Material  - that will work in a Label.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • AVTS Profile Picture
    538 on at

    Hi i am keeping the code in the Items(ComboBox).  Gallery in the Combobox or Label .

     

    I am having following following items ,

    One Barcoder

    One Label

    One ComboBox

    Requirement :  Label is displaying the result based on the barcode scanning and comboBox should display the matched value based on the label results. ComboBox is having two featuers. 1. Its display the full material list from tabel2 and 2.display the material based on the label results

  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at

    @AVTS ,

    This will also work in a combo box, but you need Filter

    Filter(
     YourListName,
     'Full cases' = YourLabelName.Text
    )

     

  • AVTS Profile Picture
    538 on at

    tried same but no luck .. Dropdown is not getting populated from the label selection .

  • WarrenBelz Profile Picture
    155,463 Most Valuable Professional on at

    @AVTS ,

    Can you please share the exact code you are using (in Text) and where you are using it (please provide screen shot).

  • AVTS Profile Picture
    538 on at

    Attached . Filter(Table2,'Full cases' = Label8.Text)

     

    AVTS_0-1619595350535.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard