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 Apps / Keep track of requests...
Power Apps
Answered

Keep track of requests by having a column in SharePoint

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am having an issue and I would like some help. What I want to do is have a column in SharePoint that every time a new item is created it goes and writes on the columns named RequestNo 2021.X Like the below screenshot. 

Thanasis_0-1617291437596.png

My issue is I don't want to use the ID column because It is already up to 100+ entries. But I do want every new entry from now one to have that format in that column basically the "CurrentYear.X" Where X is going to start from 1 and will keep adding 1 every time a new item is created ?  Does anybody have any idea how would I go by doing this ? Do I have to do it within PowerApps ?or maybe even creating a flow just for that? 

I would really appreciate any help I can get on this. 

 

Categories:
I have the same question (0)
  • Verified answer
    rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi there @Thanasis if it is a naming issue then have a calculated column with the ID, just subtract the max ID (as a constant when you start the new naming convention) and you will start at 1. Yes, you can do it with flow, but it will be an overkill.

    Max ID = 150

    e.g. =IF( ID >150 ,(YEAR(TODAY())&"."&ID-3),"")

     

    hope it helps

     
  • Thanasis Profile Picture
    on at

    Thank you for your response @rubin_boer 
    I am doing what you told me but it is not working for me. Am I doing something wrong?

    Thanasis_0-1617311636855.pngThanasis_1-1617311657508.png

     

  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @Thanasis what is the error that you get, the formula is right. btw the only change is the 150 where 3 was.

    Max ID = 150

    e.g. =IF( ID >150 ,(YEAR(TODAY())&"."&ID-150),"")

     
  • Thanasis Profile Picture
    on at

    Hello @rubin_boer 

    Thank you again for your help.

    I have this for my list:

    Thanasis_1-1617630314295.png

    Thanasis_3-1617630755885.pngThanasis_4-1617630787874.png

    It doesn't give me an error, it just doesn't show anything under the Testttt column when I create a new item, It should automatically fill in the Test column right ? Am I doing something wrong ?  Thank you for any help you can provide me. 

  • Thanasis Profile Picture
    on at

    @rubin_boer 
    I changed this > to < because my ID Is smaller than 150 , and it showed up everything , but there is an issue. So let say my current ID was 18. If I do this : =IF(ID<150,(YEAR(TODAY())&"."&ID-18),"")

    This is what I get. 

    Thanasis_0-1617633677888.png

    instead of counting from the oldest entry to the newest it goes backward is has 0 as my newest entry and 2 my oldest one. Also once the ID goes over 18 it keeps giving me the same result 2021.-18. I am sorry for all the questions I am just trying to understand what I am doing wrong.

  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    Hi with 18 being your max lD do iIF(ID > 18,(YEAR(TODAY())&"."&ID-18),"")

  • Thanasis Profile Picture
    on at

    Hello @rubin_boer  I am doing exactly that. now my Max ID is 24 so I changed formula to IF(ID > 18,(YEAR(TODAY())&"."&ID-18),"") and I do this : 

    Thanasis_0-1617642998855.pngThanasis_1-1617643034899.png

     

    No I am going to add a new Item :

    Thanasis_2-1617643192380.png

    Once I click Save nothing happens, ID becomes 25 and the TESTTT column remains empty. 

    Thanasis_3-1617643289625.png

    I don't understand what I am doing wrong. 

     



     

  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    Hi there that is ok, the maximum lD will increment wth one with each entry what is  importat is from lD 19 the Calculation must read 2012.1? if that is working then you Can decide where you want it to start. For now ' what is your calculation reading where year lD = 19

  • Thanasis Profile Picture
    on at

    Yes that worked , Thank you so much @rubin_boer . It was my fault I was doing it wrong. Thank you for being patient and helping me out. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard