Skip to main content

Notifications

Power Automate - General Discussion
Answered

Creating a calculated column in a Document Library

(0) ShareShare
ReportReport
Posted on by 2,407

I'm trying to create a Document Libraty with a Flow, since it appears that you can no longer use Document Library Templates.

I've been able to piece together most of what I need, however, I need a calculated column in the Library and I'm stuck on that one. I know the FieldKindType is 17, what I can not find anywhere is how to specify the formula for the calculation. I have the following in the body:

{'__metadata': {'type':'SP.Field'},
'FieldTypeKind': 17,
'InternalName': 'Month',
'Title': 'Month',
'Description': '',
'Required': true,
'Hidden': false
}

but I can't find the syntax for the formula.

 

  • Verified answer
    Re: Creating a calculated column in a Document Library

    Hi @BrianS ,

     

    Please take a look at this blog.

    http://www.ludovicperrichon.com/sharepoint-rest-api-call-with-powerautomate/#createsitecolumns

    vxiaochenmsft_0-1657270206736.png

    vxiaochenmsft_1-1657270228217.png

     

    Best Regards,

    Wearsky

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard