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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Display mode of the bu...
Power Apps
Answered

Display mode of the button according to the record based in comboboxes

(0) ShareShare
ReportReport
Posted on by 361

I have a gallery showing the time of the last registration made. The formula has already been created and they search correctly. The name of the label in the gallery is Label11 (However, I don't think this is useful... lol)

 

What I need is to create a relationship in the display mode of button 1 according to these comboboxes below, which perform the filter of a gallery:

 

1. Team (ComboBox1_1)
2. Shift (ComboBox2_1)
3. Month (ComboBox3)
4. Week (ComboBox2_2) -> Here the items are as: Week 1, week 2, week 3, week 4 and week 5.

And make a condition for the display mode of a button that will enable it if there are no records in the DataGeradosIPG list.

 

Example: I am in the month of October, I selected Team X, Shift 1, Month October and week 1. If there is no record in the list DataGeradosIPG of these items, enable the button, if there is, disable it.

 

Joaoandrebs_0-1698326115013.png

Joaoandrebs_1-1698326985071.png

 

 

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

    Code to put on displayMode

    If(CountRows(Filter(DataGeradosIPG,Team=ComboBox1_1.selected.Value,shift=...))>0,Disabled,Edit)

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard