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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,090)