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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get Week Number from I...
Power Automate
Answered

Get Week Number from Item Created

(0) ShareShare
ReportReport
Posted on by 63
Hello
 
Please, I'm looking for some help. I have sharepoint list with a calculated column to get week number (calculate week number from Created date). When I use that column in flow, it generates 13 decimal places. Suppose the week number is 43 in the flow it generate as 43.0000000000000. How to fix this issue. I see couple of previous post, but it was not helpful. Below is my flow.
 
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    The image of your flow isn't too helpful since it doesn't show where you are using the expression. However, just wrap the value in an int expression and the decimal and zeros will go away.
  • deepaks1 Profile Picture
    63 on at
    @David MA, Thanks. it worked exactly. I used in my expression and all decimals are removed in my output.
    int(item()?['columnname'])

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard