cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
abhishekmundra
Level: Powered On

Filter Data using Drop Down List

Capture.PNG

 

Hello,

I'm trying to filter this table (DataTable1) using a dropdown placed at the bottom. Dropdown list consists of Column names of the table. So i want to filter out 2 columns everytime I select a date from a dropdown - first column is the 'Name' and 2 should be its corresponding column that I'm selecting from the dropdown. Please advice.

 

Thanks in advance.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Filter Data using Drop Down List

Hi @abhishekmundra ,

Do you want to display the column value (1-Jun, 2-Jun, 3-Jun, ...) wthin your Data Table1 based on the Date Dropdown box?

 

I have made a test on my side, please take a try with the following workaround:7.JPG

 

8.JPG

Set the Items property of the Data Table to your Data Sorce.

Then within left "Tree view" part, under Data Table control, select the "1-Jun" column, then set the Visible property to following:

 

If(Dropdown1.Selected.Value = "1-Jun", true, false)

select the "2-Jun" column, then set the Visible property to following:

If(Dropdown1.Selected.Value = "2-Jun", true, false)

select the "3-Jun" column, then set the Visible property to following:

If(Dropdown1.Selected.Value = "3-Jun", true, false)

...

...

 

Please check the following GIF screenshot for more details:Test.gif

 

Best regards,

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Super User
Super User

Re: Filter Data using Drop Down List

@abhishekmundra 

Are you saying that you want your Gallery to be a two column gallery Name and the column chosen in the dropdown?

If so, what are some of the column names you are using for the data? i.e does your data source have a "1-Jun" column and  "2-Jun", etc columns?

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Community Support Team
Community Support Team

Re: Filter Data using Drop Down List

Hi @abhishekmundra ,

Do you want to display the column value (1-Jun, 2-Jun, 3-Jun, ...) wthin your Data Table1 based on the Date Dropdown box?

 

I have made a test on my side, please take a try with the following workaround:7.JPG

 

8.JPG

Set the Items property of the Data Table to your Data Sorce.

Then within left "Tree view" part, under Data Table control, select the "1-Jun" column, then set the Visible property to following:

 

If(Dropdown1.Selected.Value = "1-Jun", true, false)

select the "2-Jun" column, then set the Visible property to following:

If(Dropdown1.Selected.Value = "2-Jun", true, false)

select the "3-Jun" column, then set the Visible property to following:

If(Dropdown1.Selected.Value = "3-Jun", true, false)

...

...

 

Please check the following GIF screenshot for more details:Test.gif

 

Best regards,

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 370 members 5,092 guests
Please welcome our newest community members: