cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Samny_98
Helper IV
Helper IV

Display label which count the number of times where I clicked on a button ?

Hello all,

 

I would know to display the label which count the number of times where I clicked on a button.

 

 

Many greetings.

 

Samuel.

 

 

 

 

 

 

 

 

 

 

2 REPLIES 2
EddieE
Solution Sage
Solution Sage

@Samny_98 

Screen OnVisible

 

UpdateContext({ vBtnCount: 0 })

 

Button OnSelect

UpdateContext({ vBtnCount: vBtnCount+1 })

 

Label Text

vBtnCount

Mikudance
New Member

You can try :

Screen OnVisible :

 

UpdateContext({ vBtnCount: 0 })

 

Button OnSelect :

 

UpdateContext({ vBtnCount: vBtnCount+1 })

 

Label Text :

 

vBtnCount

 

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.

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.

Users online (3,194)