cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Book a Room Template Exclude Rooms

Hello,

 

This is my first experience with powerapps.

We are willing to use the Book A Room template.

 

We are using sevral rooms, so i want to exclude some rooms in a app.

But how and where do i filter these rooms that i need in the specific app.

 

Thanks a lot!

4 REPLIES 4
Highlighted
Dual Super User III
Dual Super User III

Hi @BartMaatje , 

 

Can you please share more details? A screenshot maybe? 

Where do you exactly want to apply the filter? With these questions answered, we might be able to assist you better.
Highlighted

Hi @yashag2255,

 

Thanks for your reply!

 

See the picture in running mode:

Within our 12 Rooms, we have 6 appointment rooms and 5 cars (last room in the picture is an example)
I am thinking to make 2 app's:

- Book a Room (6 appointment rooms)

- Book a Ride (5 cars/buses)

roomsearch.PNG

 

Main question: How can i excude our buses and cars in the app 'Book a Room' and also how can i exlude the appointment rooms in our second app 'Book a Ride'

 

Please let me know if something is unclearly

 

Highlighted

Hi @BartMaatje ,

Do you want to classify data to room and ride?

Here are two tips for your reference:

1)name the room name with "name", like 001room, 002room,...

Add a radio control.

Set the radio's Items:

["Book a room","Book a ride"]

Set the RoomsListsGallery's Items:

If(Radio1.Selected.Value="Book a room",Filter(available room lists, "room" in name),
Filter(available room lists, Not("room" in name))
)

Then, the gallery will filter according to your selection of the radio.632_LI.jpg

2) save roomlist and ridelist as two separate collections

Inset two Screens named Book Room and Book Ride, binging with roomlist and ridelist.

Accoding to the user's selection navigete to corresponding screen.

Set the Radio's OnSelect:

If(Radio1.Selected.Value="Book a room",Navigate(Book Room,None),
                                       Navigate(Book Ride,None)
)

 

 

Best regards,

Community Support Team _ Phoebe Liu

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

Hi, 

 

Thanks for your reply.

 

I am getting stuck at filtering the rooms

When i changed RoomsListGallery, the next names are invalid..

 

ThisItem.Email

ThisItem.Name

 

 

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (3,379)