cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dishen
Advocate III
Advocate III

Count if checkbox is checked

Hello Everyone,

I have two checkboxes and one label, I don't have any gallery or data source.

If i check one check box the count should be 1(In label)

if i check two check boxes the count should be 2(In label)

Please help me with the code

1 ACCEPTED SOLUTION

Accepted Solutions
rubin_boer
Super User
Super User

hi @Dishen try this 

 

label Text =  If(Checkbox1.Value,1,0) + If(Checkbox1_1.Value,1,0)

 

hope this helps

 

 

View solution in original post

2 REPLIES 2
rubin_boer
Super User
Super User

hi @Dishen try this 

 

label Text =  If(Checkbox1.Value,1,0) + If(Checkbox1_1.Value,1,0)

 

hope this helps

 

 

Wow ! Thanks for the quick reply and working well

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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.

Users online (1,865)