Skip to main content

Notifications

Power Automate - General Discussion
Answered

Change Format Number #,#

(0) ShareShare
ReportReport
Posted on by 120

hi,

 

I have a column in sharepointlist and filter by array containing the number 12345, but I want to format it as 12,345.00. I've tried using the this function 

formatNumber(item()?['InPlan'], 'N')

but it hasn't worked.

The screenshot below shows my current Flow.

nrd10_0-1706698279482.png

 

nrd10_1-1706698312041.png

 

Thanks

 

  • nrd10 Profile Picture
    nrd10 120 on at
    Re: Change Format Number #,#

    thankyou because of your question i know the error is because null value

  • Verified answer
    ManishSolanki Profile Picture
    ManishSolanki 15,075 on at
    Re: Change Format Number #,#

    Hi @nrd10 

     

    Pls try the below expression:

    formatNumber(int(item()?['InPlan']), '#,000.00')

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • Verified answer
    Chriddle Profile Picture
    Chriddle 7,346 on at
    Re: Change Format Number #,#
    formatNumber(12345, 'N') works great and returns '12,345.00'
    What exactly is the issue?
     
    You have two different expressions in your description:
    formatNumber(item()?['InPlan'], 'N')
    and
    formatNumber(item()?['In'], 'C')

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard