cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cwill83247
Frequent Visitor

Book a Room App - show capacity

hoping someone can help - I am a very new to PowerApps so if you can bear with me 🙂

 

I have used the Book a Room App Template

I want to be able to show capacity of the rooms, and filter on this capacity.

 

From what I understand I need a new list to hold the additional information about the room - which I have created in Sharepoint. I am struggling to understand how I get this information for Capacity to display in the results.

 

Using Below I can get the capacity data from my SharePoint List called RoomsMetaData

LookUp(RoomsMetaData,email2 = "testroom@company.com").Capacity

 

I though the syntax below would work: However complaining about incompatible datatypes

LookUp(RoomsMetaData,email2 = (AvailableRoomEmailName)).Capacity

 

Any help or advise would be awesome 

1 ACCEPTED SOLUTION

Accepted Solutions
cwill83247
Frequent Visitor

Update: Incase may help someone in community 

 

"RoomType: " & LookUp(RoomsMetaData,Title = ThisItem.Email).RoomType.Capacity

 

Within the Gallery its currently using AvailableRoomEmailName -- and comparison I was overthinking , just add a text label in your gallery with syntax as above  (if you have a sharepointlist with Title (this has email address) and then you have a field called capacity...

I am very new to PowerApps so probably a better way but thought worth sharing 🙂

 

View solution in original post

2 REPLIES 2
cwill83247
Frequent Visitor

Update: Incase may help someone in community 

 

"RoomType: " & LookUp(RoomsMetaData,Title = ThisItem.Email).RoomType.Capacity

 

Within the Gallery its currently using AvailableRoomEmailName -- and comparison I was overthinking , just add a text label in your gallery with syntax as above  (if you have a sharepointlist with Title (this has email address) and then you have a field called capacity...

I am very new to PowerApps so probably a better way but thought worth sharing 🙂

 

Hi @cwill83247

That's greate.

Could you please mark your reply as an answer to help more users?

Thanks for your cooperation.

Best Regards,
Qi

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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