cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 454 members 5,411 guests
Please welcome our newest community members: