If you want to send a user back to the screen they just came from in Power Apps, the Back function does exactly that. It needs no screen name, only an optional transition, and returns the user to the previous screen because the app remembers where they came from.
That matters when the same details screen opens from two places, where a hard-coded list screen would send some users to the wrong one.
In this tutorial, I’ll show you how to use the power apps back function with a back arrow, a custom transition, a gallery details screen and a safe fallback, all tested in a real canvas app.
Power Apps Back Function Syntax
Back( [ Transition ] )
| Parameter | Required | Type | Description |
|---|---|---|---|
Transition | No | ScreenTransition | Cover, CoverRight, Fade, None, UnCover or UnCoverRight. Leave it out and Back plays the inverse of the transition the screen opened with. |
Return value: a Boolean. Back returns true, or false when the user hasn’t moved to another screen since the app started.
Power Apps records every Navigate call between screens, and each Back call steps one screen down that history. Back only works in behavior properties such as OnSelect, and it never reads data, so delegation doesn’t apply.
When to Use the Back Function in Power Apps
- A back arrow in the header of a details or edit screen.
- Returning from a record opened through a gallery’s OnSelect property.
- A shared settings or help screen that opens from several screens.
- A Cancel button that leaves without a hard-coded target.
Example 1: Add a Back Arrow Icon
My Power Apps demo has two screens: scrFnBack and scrFnBackDetail. On the details screen, I inserted a Left arrow icon in the header. Select the icon, pick OnSelect in the property dropdown left of fx, and type the formula. Press Play to test it.
Back()

How does this work?
When a button’s OnSelect opens the details screen with Navigate, that screen goes on top of the history. Clicking the arrow runs Back() and returns to scrFnBack.
Example 2: Go Back With a Specific Transition
My Open details button uses ScreenTransition.Cover. A second button on the details screen forces a different animation:
Back(ScreenTransition.Fade)

How does this work?
Plain Back() reverses Cover by uncovering to the right. With the argument, the details screen fades out no matter how it opened. Both buttons returned to the first screen in my test.
Example 3: Return From a Gallery Details Screen in Power Apps
The first screen shows a gallery of my Service Requests SharePoint list. Its OnSelect passes the clicked record to the details screen:
Navigate(scrFnBackDetail, ScreenTransition.Cover, {locBkReq: ThisItem})

Clicking text inside my container-based row didn’t fire the gallery’s OnSelect, so I added a chevron icon to each row with this formula:
Select(galBk)
I clicked the chevron on Password reset #1005, then the back arrow.


How does this work?
The details screen showed “Title: Password reset #1005” from the context variable locBkReq. After Back(), the label read “Selected before you left: Password reset #1005”. More on that in my global vs context variables tutorial.
Example 4: Check if Back Worked
Back returns false when there’s no history, like when a deep link opens the app on that screen. This button handles it:
If(
!Back(),
Notify(
"There is no previous screen to go back to.",
NotificationType.Warning
)
)


How does this work?
I started Preview on scrFnBack and clicked the button. !Back() flipped false to true, so the Notify function showed the yellow banner. After a trip to the details screen and back, it warned again, because Back had already removed that screen from the history.
Pro Tip: In a real app, swap the Notify for Navigate(HomeScreen) so deep-link users still have a way out.
Common Mistakes with the Power Apps Back Function
- Wrong property.
Back()in a label’s Text shows “Behavior function in a non-behavior property.” - No screen name.
Back(scrFnBackDetail)shows “Invalid argument type (Control). Expecting a Text value instead.” Use Navigate for a specific screen. - Stale values. Opening the details screen without a record still showed Password reset #1005, because context variables keep their values.
- Old data. The previous screen isn’t reloaded, so refresh in OnVisible if needed. See OnStart vs OnVisible.
Wrapping Up
The Power Apps Back function takes one optional argument and tells you whether it worked. Put it on every details, edit and settings screen.
Browse all Power Apps functions, or read the Back and Navigate functions on Microsoft Learn.
Other Power Apps functions you may find useful:

Hey! I’m Bijay Kumar, founder of SPGuides.com and a Microsoft Business Applications MVP (Power Automate, Power Apps). I launched this site in 2020 because I truly enjoy working with SharePoint, Power Platform, and SharePoint Framework (SPFx), and wanted to share that passion through step-by-step tutorials, guides, and training videos. My mission is to help you learn these technologies so you can utilize SharePoint, enhance productivity, and potentially build business solutions along the way.