cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Combo Box

Hello People,

 

I have Multiple Combobox and a data table. I am trying to show data table fields bassed on Combobox selection. 

1) If the user selects a value from any Combobox values for other Combobox and table should change based on selection. 

2) if there is no selection in any Combobox data table must show all the record by default. 

 

Thanks,

Omi

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Combo Box

Control your data table's datcards visibility based on combo box selections.

Also add an if condition that says if none are selected, show all.

So something like this:

If(ComboBox.Selected.Value = "Option1" || (IsBlank(ComboBox1.Selected) && IsBlank(ComboBox2.Selected)), true, false)

This one translates to the data card being visible if ComboBox1 has a value of Option1 OR if all combo boxes are blank.

Let me know if this helps.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
The Power Addict
https://thepoweraddict.com

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Combo Box

Control your data table's datcards visibility based on combo box selections.

Also add an if condition that says if none are selected, show all.

So something like this:

If(ComboBox.Selected.Value = "Option1" || (IsBlank(ComboBox1.Selected) && IsBlank(ComboBox2.Selected)), true, false)

This one translates to the data card being visible if ComboBox1 has a value of Option1 OR if all combo boxes are blank.

Let me know if this helps.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
The Power Addict
https://thepoweraddict.com

View solution in original post

Highlighted
Super User
Super User

Re: Combo Box

Glad I could help! Good luck with the rest of your app! Feel free to reach out in case of any questions!

Thanks,
Hardit Bhatia
The Power Addict
https://thepoweraddict.com

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (5,243)