Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Retrieving Power Apps Modified Date

(1) ShareShare
ReportReport
Posted on by 4,866 Super User 2025 Season 1
I am using the following to pull in the 'current' app version of my Power App into the main screen of the app.

In the history there is also a 'Modified' date column. Is it possible to use a similar formula to pull in the
'Modified' date so I can display it in the 'Published' label on my screen?

Excerpt of 'App version history' -


Formula used at 'OnStart' to retrieve app version number -
 
Set(varAppVersion,
CountRows(PowerAppsforMakers.GetAppVersions(First(
    Filter(
        (PowerAppsforMakers.GetApps()).value,
        properties.displayName = "Invoice_App"
)
).name).value));

Section of App main screen -

  • CA1105 Profile Picture
    469 on at
    Retrieving Power Apps Modified Date
    Following..
  • Verified answer
    Phineas Profile Picture
    4,866 Super User 2025 Season 1 on at
    Retrieving Power Apps Modified Date
    Found my answer.

    Thank you all for your patience.

    'OnStart' formula to get current App Version and Date/Time published -
    Set(
        appVersion,
        CountRows(
            PowerAppsforMakers.GetAppVersions(
                LookUp(
                    PowerAppsforMakers.GetApps().value,
                    properties.displayName = "App Name Here",
                    name
                )
            ).value
        )
    );
    Set(
        appTimeStamp,
        PowerAppsforMakers.GetApp(
            LookUp(
                PowerAppsforMakers.GetApps().value,
                properties.displayName = "App Name Here",
                name
            )
        ).properties.appVersion
    )
  • Phineas Profile Picture
    4,866 Super User 2025 Season 1 on at
    Retrieving Power Apps Modified Date
    I don't understand.

    You say, "Look in the table for the correct name."

    What table?

    In the varAppVersion formula the only options to choose from that I am given are:
    id
    name
    properties
    tags
    ThisRecord
    type
     
    ...and the .name).value) is what is returning the Version number.
     
    Set(varAppVersion,
    CountRows(PowerAppsforMakers.GetAppVersions(First(
        Filter(
            (PowerAppsforMakers.GetApps()).value,
            properties.displayName = "Invoices_App"
    )
    ).name).value));
     


    When I get to the following spot, in my varPublishDateTime formula, once I enter the period (.) I get a list
    of items including 'lastModifiedTime'.

    However, I don't believe this is the place to acquire this meta data, as I haven't identified the specific app
    as yet.

    How am I to proceed?

    'OnStart' Publish DateTime formula -
    Set(varPublishDateTime,
    First(
          Sort(

              PowerAppsforMakers.GetAppVersions(
                   
    First(
                         
    Filter(
                             PowerAppsforMakers.GetApps()).value,
                             properties.lastModifiedTime...
  • ronaldwalcott Profile Picture
    3,810 on at
    Retrieving Power Apps Modified Date
    Look in the table for the correct name.
  • Phineas Profile Picture
    4,866 Super User 2025 Season 1 on at
    Retrieving Power Apps Modified Date
    Power Apps 'OnStart' didn't like the formula.

    Got an error.

    Error message is -
    "Name isn't valid. 'modifiedTime' isn't recognized."

    The only options to choose from for 'value' are -
    id
    name
    properties
    tags
    ThisRecord
    type


    The column name in the version section of the app is 'Modified'. However 'Modified' is also not available for
    'value' in the formula.


    The formula used in 'OnStart' to return app details -
    Set(
        varAppPublishedDate,
        First(
            Sort(
                PowerAppsforMakers.GetAppVersions(
                    First(
                        Filter(
                            PowerAppsforMakers.GetApps().value,
                            properties.displayName = "Invoice_App"
                        )
                    ).name
                ).value,
                modifiedTime,
                SortOrder.Descending
            )
        ).modifiedTime
    );
  • Suggested answer
    CU25060357-0 Profile Picture
    35 on at
    Retrieving Power Apps Modified Date
    The modified date is within GetAppVersions as well.
     
    Set(
        varAppPublishedDate,
        First(
            Sort(
                PowerAppsforMakers.GetAppVersions(
                    First(
                        Filter(
                            PowerAppsforMakers.GetApps().value,
                            properties.displayName = "Invoice_App"
                        )
                    ).name
                ).value,
                modifiedTime,
                Descending
            )
        ).modifiedTime
    );
     
    And then for your label:
     
    "Published on " & Text(varAppPublishedDate, "[$-en-US]mmmm d, yyyy")
     
    or if you want the time included.
     
    "Published on " & Text(varAppPublishedDate, "[$-en-US]mmmm d, yyyy 'at' h:mm AM/PM")
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >