cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

several conditions in filtering

Dear Friends, 

i want to display Dr Name based on the controls of day, Room.No and Timming ( see the attachment) 

what is the formula can do this 

8 REPLIES 8
Highlighted
Helper I
Helper I

Re: several conditions in filtering

Hello @HothaifahHijazi ,

 

Do you have the filter criterias linked to your Dr Name in your database?

 

What's the datasource?

 

Regards

Highlighted
Regular Visitor

Re: several conditions in filtering

Datasource is a table for the weekly distribution of clinics in the hospital

as in the attachment :

 

 

Highlighted
Helper I
Helper I

Re: several conditions in filtering

it seems that your attachment is missing @HothaifahHijazi 

Highlighted
Regular Visitor

Re: several conditions in filtering

sorry and here the attachment 

Highlighted
Helper I
Helper I

Re: several conditions in filtering

Ok so it should look like this : 

 

Filter(ExcelFileDataSource, And(drpDay.Selected.Value = Day, drpRoomNo.Selected.Value = RoomNo, drpTiming.Selected.Value = Timing)

Regards,

Highlighted
Regular Visitor

Re: several conditions in filtering

Dear Fildegandalf,

Do I need to run this formula in Datasource or in item ?

thanks,

Hothaifah 

Highlighted
Helper I
Helper I

Re: several conditions in filtering

Hi,

You have to put this formula as the data source of ur gallery

Regards,
Highlighted
Regular Visitor

Re: several conditions in filtering

appreciated your responses

kindly, see the attachments :

the formula i used :

Filter(Table1,And(WeekDay = Dropdown1.Selected.Result,RoomNo=Dropdown2.Selected.Result,Timing=Dropdown3.Selected.Result)

 

no value available after " Selected"

 

and it display nothing 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,054)