cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
eka
Helper II
Helper II

UpdateContext

I want to update datacard36 on click of Button1.

On button1, I have onselect - UpdateContext({Button1:true})

Whlies on Datacard36 i have this formula on default - If(Button1,"0",Parent.Default).

it works fine but after clicking button1, the datacard36 remains "0" for all other records.

how do restrict the formula only to the current form?

Hope to get some help from you

1 ACCEPTED SOLUTION

Accepted Solutions
HadynM
Continued Contributor
Continued Contributor

Hi @eka

At some point when you have finished with the current form you will need to use:

UpdateContext({Button1:false})

Probably when moving to the next record.

Hope that helps.

Hadyn

View solution in original post

2 REPLIES 2
HadynM
Continued Contributor
Continued Contributor

Hi @eka

At some point when you have finished with the current form you will need to use:

UpdateContext({Button1:false})

Probably when moving to the next record.

Hope that helps.

Hadyn

View solution in original post

thank you

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,004)