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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Number Formatting From...
Power Automate
Answered

Number Formatting From Sharepoint List

(0) ShareShare
ReportReport
Posted on by 11

I have been banging my head against a wall... This may have been covered somewhere but I cannot find a solution.

 

This is an automated output to email:

mark41060_0-1622822111024.png

Ideally I want the total number of days to show up as an integer but I can't figure out how to do it. I have tried multiple approaches and keep coming up empty. Any advice would be appreciated.

 

The flow runs every day at 9AM, if the day of the month is either 1 or 15 then the flow continues.

I get my Sharepoint list, Select the data, create the HTML table, Style it, create a CSV table then send the email.

 

 

mark41060_1-1622822387581.png

 

mark41060_2-1622822464887.png

I have tried changing the data type in Sharepoint as well, for some reason the hours per day comes across nicely, the only difference between the hours per day column and the total number of days column is that the latter is a calculated column.

Any attempt at formatting this column of data results in errors, help would be appreciated!!

 

 

Categories:
I have the same question (0)
  • PrasadAthalye Profile Picture
    on at

    Did you define your SharePoint calculated column as Number with 0 decimal?

     

    PrasadAthalye_0-1622825016574.png

     

  • mark41060 Profile Picture
    11 on at

    I did, that was the first thing that I checked...

     

    D25F344C%7D&Field=QtyDays

     

    mark41060_0-1622825148201.png

     

  • PrasadAthalye Profile Picture
    on at

    Okay.  In the select, can you use expression and convert it using int () function?

     

    int('2.0000')
  • mark41060 Profile Picture
    11 on at

    I have tried that approach, either it does not work or I the syntax is wrong...

    If I input as below:

    mark41060_1-1622833969898.png

     

    It returns this error:

    mark41060_0-1622833936718.png

    I have also tried to use triggerbody without success. Error indicates an invalid parameter, doesn't appear that I have access to the dynamic content using expressions... 

  • Verified answer
    PrasadAthalye Profile Picture
    on at

    Use Manual expression like below

     

    int(item()?['Id'])
  • mark41060 Profile Picture
    11 on at

    That did the trick, I tried manual expressions as well but I must have had something off... Thanks so much, really appreciate it!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 607

#2
Valantis Profile Picture

Valantis 456

#3
11manish Profile Picture

11manish 352

Last 30 days Overall leaderboard