cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
mariajessa
Level: Powered On

UNIQUE ID concatenate ID issue

Hi ,

 

I would like to create a DOCID by concatenating the ID column. The values in DOCID is generated from a FLOW using the dynamic content. However, I would like to get a DOCID without a Flow. Thus I created DOCID (test) column which is a calculated type using the formula =CONCATENATE("xxxx - ",ID). 

 

I created another column ID (test), which is also calculated using formula =ID. Then I modified the DOCID (test) formula to =CONCATENATE("xxxx - ",[ID (test)]). It's giving me the same issue.

 

Some files are updated correctly, however there are some files which give 0 value. Please let me know if you have any workaround/solution. Thank you in advance.DOC.JPG

3 REPLIES 3
Dual Super User
Dual Super User

Re: UNIQUE ID concatenate ID issue

Hey @mariajessa 

 

I have made a test on my side and it works as expected with that expression. Can you try to update the expression in the ID (test) column to =[ID]

ee32221.png

 

You can also try square brackets if you are trying to refer to a SP list column. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

mariajessa
Level: Powered On

Re: UNIQUE ID concatenate ID issue

Hi @yashag2255 ,

 

I tried this before I posted my issue. And did not work.  I read that the ID field is filled ONLY after the item is created. I have to modify the formula every now, (insert a bracket []), otherwise it'll give a null value.

Dual Super User
Dual Super User

Re: UNIQUE ID concatenate ID issue

Hi @mariajessa 

 

ID column is the unique identifier for each record in case of a SP list. This is only created when the record is created for the first time.

If this is about auto-populating the field before the record is created, you can set the "Default" property of the control as:
Value(First(Sort( SPListName, ID, Descending)).ID) + 1

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (5,110)