Which formula should you use?
You need to set the value for a global variable named RunningTotal to 5 and navigate to the previous screen named MainScreen.
Which formula should you use?
A . UpdateContext( { RunningTotal: 5 } ); Navigate( MainScreen,
ScreenTransition.Cover, RunningTotal );
B. If( Value(TextBox1.Text) >= 0, (Set( RunningTotal, 5);
Back();), Color.Green )
C. UpdateContext( { RunningTotal:5 } ); Back()
D. Set( RunningTotal, 5 ); Back();
Answer: D
Explanation:
You set the value of the global variable with the Set function. Set( MyVar, 1 ) sets the global variable MyVar to a value of 1.
Use the Back and Navigate function to change which screen is displayed.
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/working-with-variables
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-navigate
Latest PL-100 Dumps Valid Version with 86 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund