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

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Filtering Form component based on combo box

(0) ShareShare
ReportReport
Posted on by 36

Hi Team,

 

I have form where users need to add hours of the records which combo boxes are filtering.

 

i have 4 combo boxes where users need submit the form against the selected values in the form.

 

for e.g. i have employee name , project name , employee location, hours , 22/9/2023, 29/9/2023, 4/10/2023

 

i have a form with dates like  22/9/2023, 29/9/2023, 4/10/2023. where users will and fill  against employee name selected in combo box and project name selected in project name combo box and employee location selected in project name.

 

i have tried writing the code in item property of the form like lookup(datasource, employeename = cmbemployeename.selected.value && projectname = cmbprojectname.selected.value && employee location = cmbemploc.selected.value) but it is not working.

 

Any help is Thankful.

 

 

Thanks & Regards,

Mahesh

I have the same question (0)
  • WarrenBelz Profile Picture
    151,934 Most Valuable Professional on at
    Re: Filtering Form component based on combo box

    Hi @Mahesh005 ,

    Firstly have you tried copying the form outside the Component and seeing if it works there - currently component access of data is still in the Ideas Forum (also refer to the specification document)

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • ivan_apps Profile Picture
    2,187 Moderator on at
    Re: Filtering Form component based on combo box

    Verify the values of these items:

     

    cmbemployeename.selected.value

    cmbprojectname.selected.value
    cmbemploc.selected.value

    I know combo boxes went through a change recently so you’ll want to verify .Selected still works or if it should be .SelectedItems or something else. I believe .Value could also have changes to .Text too but basically validate your filter values and test again. 

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

Coming soon: forum hierarchy changes

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

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 624 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 384 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 246

Last 30 days Overall leaderboard