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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

string function not work in calculated field

(0) ShareShare
ReportReport
Posted on by 116

I use the string() function to convert decimal number to string.

It works on "Annual Leave Total", "Annual Leave Claim", and Sick Leave Claim" fields.

But when it applies to "Annual Leave Available" fields (it is a calculated field on Sharepoint List), it does not work as shown below.

manyzero.JPGIMG_20180619_123410.jpg

I have the same question (0)
  • v-yuazh-msft Profile Picture
    on at
    Re: string function not work in calculated field

    Hi @JoeAu,

     

    Could you please share more details about the configuration of the calculated field in the list?

    Could you please share a full screenshot of the configuration of your flow?

    Could you please share more details about the error message when the flow run failed?

     

    I have made a test on my side to create a calculated field in the list as below:

    Capture.PNG

     

     

    The number field in the list is Number type field.

     

    And I have created a flow as below:

    Capture.PNG

    The exression in the flow as below:

    string(body('Get_item')?['Annual_x0020_Leave_x0020_Availab'])

    The flow would run successfully as below:

    Capture.PNG

     

     

    Please share more details so we would try to provide a proper workaround for you.

     

    Best regards,

    Alice

     

     

     

  • KingofFlanders Profile Picture
    3 on at
    Re: string function not work in calculated field

    Same problem here. 

     

    Trying to create a flow but it fails. 

     

    flow1.pngflow2.png

    Error message is:

    "status": 400,
    "message": "Het veld Vervaldatum_x0020_volgens_x0020_ van het type Calculated kan niet worden gebruikt in de queryfilterexpressie.\r\nclientRequestId: 002b499d-b69a-45b1-92ac-01759d41a97c\r\nserviceRequestId: 96d7d79e-b016-0000-69e4-8d1a7aab8464"
    }
     
    Is there a workaround?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 722 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 461 Moderator

#3
developerAJ Profile Picture

developerAJ 283

Last 30 days Overall leaderboard