Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Sharepoint calculated coulumn and power automate percentage

(0) ShareShare
ReportReport
Posted on by 7
Hi All,
 
I have a calculated column in share point which results in 79%.
 
I have to show this value in % in body of email notifications. But when I tried to do it, it shows decimal places 0.079767657 ONLY instead of 79%.
 
I have tried exploring int(), formatNumber() but no use. It says string value can not be converted to number. wrong usage of formula in expression.
 
Any thoughts and help much appreciated
  • balajimr2 Profile Picture
    7 on at
    Re: Sharepoint calculated coulumn and power automate percentage

    Hi @v-litu-msft 

     

    My apologies for the typo. You made my day, have been trying multiple ways to convert that string to text. All efforts failed, was struggling last day.

     

    your solution worked flawless, Many thanks.

     

    Cheers,

    Balaji

  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: Sharepoint calculated coulumn and power automate percentage

    Hi @balajimr2,

     

    Could you please share the calculated column value how show in the output?

    Why it will show 0.079767657? Not 0.79767657?

    If it is miswritten, you could following the screenshot to approach that:

    use float() function convert it to float, then use Format number action convert it to percent format, the Format could set to "P01", it means has one decimal. If you want it to have no decimal, you could set it to "P00":

    Screenshot 2021-02-25 173137.jpg

     

    Here are documents about number format in Microsoft for reference:

    https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings 

     

    https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings#example 

     

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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,587 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow