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
Super User
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.
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
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

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

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 426 members 4,639 guests
Please welcome our newest community members: