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 / Concat with character ...
Power Automate
Unanswered

Concat with character limit

(0) ShareShare
ReportReport
Posted on by 289

Hi Team,

I am trying to create a reference number comprising of several columns Prefix + Year + Sharepoint ID. 

The Prefix will always be 1 character in length, the year will always be 2 characters in length. I need the Sharepoint ID to be 4 characters in length by padding with 0s. Such as R210016

Here is my current expression, I need to edit it to only take the right 4 characters from the SharepointID. The ref should be 7 characters length in total

concat(outputs('Calculate_Prefix'),outputs('Calculate_Year'),'000',string(triggerOutputs()?['body/ID']))

 
Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @JimJim 

    Take a look at this post as I believe it will answer your question.  Let me know if you need more help.

     

     

  • JimJim Profile Picture
    289 on at

    Thank you Scott, I just finished up for leave but I will try this as soon as I am back on my laptop

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
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard