web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Conditional Fill Shape...
Power Apps
Answered

Conditional Fill Shape based on Gallery

(0) ShareShare
ReportReport
Posted on by 17

HI,

 

I'm trying to create a desk booking app for my team.

 

I've used rectangles to symbolise the desks in the office, and a gallery (taking information from a SharePoint list) to enable users to book. 

 

A user would click the "+" symbol, which simply updates the "Assigned to" text field from "Available" to their username. 

 

Now, I would like the rectangles to be green if they're available, and red if the have been booked (grey ones are unavailable due to social distancing..) 

 

Below is as far as I've gotten. However it check the data in the top row of the gallery. Is there a way I can link the desk number from the rectangle to the gallery? 

 

GeorgeLong94_1-1598018979535.png

 

Any help would be fantastic!!

 

Thank you,


George, UK. 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    GeorgeLong94 Profile Picture
    17 on at

    Update: I've created numerous galleries, one for each desk. Then I can use the formula in the picture above but link it to the specific desk gallery required.

     

    Seems woefully inefficient, but works! 

  • alrezac Profile Picture
    Microsoft Employee on at

    Hi,

     

    Thanks for your follow up post! Looking through your original issue I am not certain myself but I am glad you were able to resolve your issue with a work around. Remember to mark your topic as answered!

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 337 Most Valuable Professional

#2
11manish Profile Picture

11manish 173

#3
Valantis Profile Picture

Valantis 86

Last 30 days Overall leaderboard