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 / Get the exact file siz...
Power Automate
Answered

Get the exact file size in kb or mb format

(0) ShareShare
ReportReport
Posted on by 73

Hi Guys,

Is there any way to get file size from Sharepoint Library but in KB or MB format? When checking the file size I got is 240226 but the exact file size is 235 KB.

 

Thank you.

benidoink_0-1644761501312.png

 

 

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @benidoink 

    Divide the value from SharePoint by 1024 to get the exact KB value.  The value provided is in bytes.

     

     

     

  • benidoink Profile Picture
    73 on at

    Hi Sir @ScottShearer ,

     

    How I suppose to do that in Power Automate. Do you have a sample flow. 

     

    Thank you. 

  • Verified answer
    ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @benidoink 

    You'll want to use the div() expression to divide.  In my example below, I divide 10 by 2:

    image.png

     

     

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 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard