Showing results for 
Search instead for 
Did you mean: 
Not applicable

UpdateContext Doesn't Work on Mobile



I have a caluclator page that switches between imperial and metric units based on a dropdown selection at the top of the page. When the units are switched I have the inputs automatically convert to between metric and imperial through the use of an updatecontext function that references it's own text input. It works in the desktop app but doesnt work on mobile (the numbers don't convert and the output wont calculate. Here is the code I use for the OnChange for the drop down menu at the top:


If(Units.Selected.Value="Imperial",UpdateContext({FluidDensityInput:FluidDensityInput*0.0083454}) And UpdateContext({JetNozzleInput:JetNozzleInput*0.393701}) And UpdateContext({PressureDifferentialInput: PressureDifferentialInput*0.00689476}),UpdateContext({FluidDensityInput:FluidDensityInput*119.826}) And UpdateContext({JetNozzleInput:JetNozzleInput*2.54}) And UpdateContext({PressureDifferentialInput: PressureDifferentialInput*145.038}))


The calculation for the final output is as follows:



Not applicable

Re: UpdateContext Doesn't Work on Mobile

Those smiley faces are the : P without spaces

Helpful resources

New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,163)