cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BartMaatje
Level: Power Up

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
Dual Super User
Dual Super User

Re: Book a Room Template Exclude Rooms

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.
BartMaatje
Level: Power Up

Re: Book a Room Template Exclude Rooms

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

 

Community Support Team
Community Support Team

Re: Book a Room Template Exclude Rooms

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
BartMaatje
Level: Power Up

Re: Book a Room Template Exclude Rooms

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
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

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