cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Post Patron
Post Patron

Is there a way to list out rooms filtered by Location?

Hello. I am listing out all the rooms for my organization. 

Mgodby_1-1608088146936.png

 

But what I want is to filter by Location. 
I set the Location in the admin center and I'm wondering if we can filter using this value in PowerApps?

Mgodby_2-1608088159412.png

 

Thank you.

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @Mgodby :

Please try this code:

Filter(
    AddColumns(
        Office365Outlook.GetRooms().value,
        "location",
        Office365Users.UserProfile(Address).OfficeLocation
    ),
    location="XXXXXXX"
)

For example:

I suppose to filter out the rooms on the 1st floor.

2.JPG


1.JPG

Best Regards

Bof

 

View solution in original post

2 REPLIES 2
v-bofeng-msft
Community Support
Community Support

Hi @Mgodby :

Please try this code:

Filter(
    AddColumns(
        Office365Outlook.GetRooms().value,
        "location",
        Office365Users.UserProfile(Address).OfficeLocation
    ),
    location="XXXXXXX"
)

For example:

I suppose to filter out the rooms on the 1st floor.

2.JPG


1.JPG

Best Regards

Bof

 

v-bofeng-msft
Community Support
Community Support

Hi @Mgodby :

Please try this code:

Filter(
    AddColumns(
        Office365Outlook.GetRooms().value,
        "location",
        Office365Users.UserProfile(Address).OfficeLocation
    ),
    location="XXXXXXX"
)

For example:

I suppose to filter out the rooms on the 1st floor.

2.JPG


1.JPG

Best Regards

Bof

 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

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