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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dynamic Value for Calc...
Power Automate
Unanswered

Dynamic Value for Calculated Column (Single Line Text) keep getting '0' value

(0) ShareShare
ReportReport
Posted on by 70

I have a calculated column "P-CardRequestID" in my SharePoint list where it's giving a value of another column, "P-Card Request ID," which generates a unique ID (flow). I don't want the user to manipulate the unique ID, so I use a calculated column.

With a separate flow, I am sending an email with the unique ID (dynamic value). However, if I use the autogenerate unique ID column, I get blank; if I use the calculated column, I get 0. I need help figuring out what I am doing wrong. Please help.

 

 

tamim0326_1-1683373784894.png

 

tamim0326_2-1683373824072.png

 

 

 

 

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,858 Most Valuable Professional on at

    Adding the delay isn't enough. YOu need to refresh the data for the item that is triggering the flow. When it triggers the columns aren't calculated. That's why they are null or 0. after the flow starts you need to go back to the list and get the item again after the delay to read the column after its calculated. To do that you use a SharePoint Get item action with the Site, list, and ID that you received in the trigger.

  • tamim0326 Profile Picture
    70 on at

    I do have a delay in my automation.  But I am not sure what you mean by get item?  even with delay it's giving me '0' in my email.  

  • Pstork1 Profile Picture
    68,858 Most Valuable Professional on at

    The problem is timing. Both a calculated column and an autogenerated value are applied after the item is edited and saved. Since your flow runs when the item is created its running before those columns are populated. I would suggest adding a delay after the trigger and then using the ID from the trigger to do a Get Item on the item so you get a slightly later version of the item. By then hopefully the columns will have been populated.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard