Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

How to manage Approvals MS Flow

(0) ShareShare
ReportReport
Posted on by

Hello,

 

In a list SharePoint item type Number, it appears correctly in SP list, ex: 400. Whilst in Approvals message it goes 400.000, how to remove the last 3 zeros?

  • Community Power Platform Member Profile Picture
    on at
    Re: How to manage Approvals MS Flow

    Hello @ScottShearer,

    total column.PNG

     

     

  • Community Power Platform Member Profile Picture
    on at
    Re: How to manage Approvals MS Flow

    Hello @v-yamao-msft,

     

    Still doesn't work, for all the column of type calculated Number, i added : 

     

     remove zeros code.PNGApproval.PNG

    but still doesn't work !

     

    These changes are made in SharePoint not Flow right ?

     

    total column.PNG 

     

    Thanks

     

     

  • Community Power Platform Member Profile Picture
    on at
    Re: How to manage Approvals MS Flow

    Hello @v-yamao-msft,

     

    Still doesn't work.

    All the columns of type 'CalculatedNumber', i put in the code in the end : 

    remove zeros code.PNGApproval.PNG

     

    but still doesn't work ! 

    These changes are made in SharePoint not Flow right ?

     total column.PNG

     

     

     

    Thanks

     

     

  • Verified answer
    v-yamao-msft Profile Picture
    on at
    Re: How to manage Approvals MS Flow

    Hi @Anonymous,

     

    It seems that you are using SharePoint Calculated columns.

    To remove zero after the number, please try the following way.

    In the SharePoint list, column NumberCalculated is of type Calculated column. Without using a code to format the value, it will be displayed as 700.0000000 in the email body. To remove the 0 after the number, I have tried using the following code to get only the number before the ‘.’.

    first(split(triggerBody()?['NumberCalulated'],'.'))

    Please take a try with it.

     

    Best regards,

    Mabel

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: How to manage Approvals MS Flow

    @Anonymous:

     

    Can you post a screen shot of the Column definiton from SharePoint please.  I still can't seem to replicate your issue using a number column.

     

    ColDef.jpg

     

    Scott

  • Community Power Platform Member Profile Picture
    on at
    Re: How to manage Approvals MS Flow

    Capture n.PNG

     

    This is the message for Approvals.

    The real number in the SP list is 700. Only in the approval message appear the rest of the zeros.

    So how i can remove the zeros after the 700 ?

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: How to manage Approvals MS Flow

    @Anonymous:

     

    I am having trouble replicating your issue.  Can you please post a screenshot of your column definition/configuration screen and of the Approval action?

     

    Scott

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow