cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ChrisRPS
Level: Powered On

OnSelect on Datatable fires twice

Hi 

On the OnSelect event on a column of a datatable which is a hyperlink, I have this formula. 

UpdateContext({CompTotal: CompTotal - 1)

Which should keep taking 1 from a variable which is a number.

However, when I press the hyperlink in the column, the number will go down by 2 all the time. But when I put the same formula in the OnSelect of a button the number will decrease by 1 as it should.


Is this a bug in the datatable or am I using the OnSelect of a column incorrectly?


Thanks 

1 REPLY 1
Super User
Super User

Re: OnSelect on Datatable fires twice

Hi @ChrisRPS,

I tested this and can confirm the behavior.  It also adds 2 if the UpdateContext is +1.  It must be a bug.  You can report it here: https://powerapps.microsoft.com/en-us/support/

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,594)