cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nagestiada
Post Partisan
Post Partisan

Playing with dropdown choices inside a gallery

Hey guys I have a gallery with a choice called Role

I want the user to select only max of two manager and with no limit on number of staff.

nagestiada_0-1655273394876.png

If I select 5th row as manager and 6th manager then the first row manager will be blank as there will only be two manager.

2 REPLIES 2
365-Assist
Power Participant
Power Participant

You would do this using variables. For instance when a user selects Manager you could add 1 to the Variable.

 

Rather than blanking rows I would suggest that if a user tries to add a 3rd user they get an error message.


---------------------------------------------------
Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.

Subscribe: https://www.youtube.com/channel/UCFpvUlpx84FuIPOdInGKMTw
Twitter: https://twitter.com/assist_365

Regards
Darren Lutchner - 365 Assist

@365-Assist,

The row is blank because the user email address does not exist anymore. good idea on the error message. will try it.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,148)