web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get a list item's vers...
Power Automate
Answered

Get a list item's version on a specific date

(0) ShareShare
ReportReport
Posted on by 18

Hi All,

 

I would like to build a list with keywords in it that I can use to monitor trending keywords over the last 7 days.

 

I have a report list:

Report                             Keyword (lookup column from keywords list)

 

report 1                             Bus

report 2                              Car, Scooter

report 3                              bike, car

report 4                             scooter, car

 

And a keywords list

Title                   Counter              

Bike                          1

Car                           3

Scooter                    2

Bus                           1

 

 

Every time a user adds an item to the report list, they select keywords from the lookup column for the the keyword list.

 

When the report is submitted, a flow increments a counter in a column on the keyword list by 1 to make a change to the item and create a new version..

 

I thought a good way to identify a trending topic would be to get the version number of the keyword list item and compare it to the version number 7 days ago. If the version was set to "19.0" 7 days ago and it's "23.0" now, then I know that 4 version changes have occurred and the keyword has been used 4 times.

 

Then I can sort the list by whatever has changed most in the last 7 days and users can easily see what's "trending".

 

But.... I don't know how to get a list item's version on a specific date. Is it possible? 

 

Thanks,

Ray

 

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @rayray1 ,

     

    Yes. You can try to use date to get version number with action 'get changes for an item or a file'.

    vxiaochenmsft_2-1657766808923.png

    vxiaochenmsft_3-1657766822412.png

     

    Best Regards,

    Wearsky

  • rayray1 Profile Picture
    18 on at

    Yes! That's got it.

     

    Thanks so much Wearsky!

     

    I used the formatDateTime as you mentioned:

     

    rayray1_0-1657773939942.png

    I output to one messy variable, rather than the two nice ones you mentioned, but essentially, I am just updating a variable with version until - version since and converting to a float:

     

    rayray1_1-1657773961859.png

     

    Then updating a column in my list called Version change with my variable

     

    rayray1_2-1657773990634.png

     

    Which gives a number.

     

    If I run this daily across the list, I can get a trend for the last x days, then sort according to the version change number.

     

    Thanks, again 🙂

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard