cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mariajessa
Frequent Visitor

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
yashag2255
Dual Super User II
Dual Super User II

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!

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.

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,738)