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 / How to format list ite...
Power Automate
Answered

How to format list item number as currency?

(0) ShareShare
ReportReport
Posted on by 28

I want to transform the listitems Stukprijs en AanschafTotaal to a currency number for example € 12,98

 

I thought this can be done by placing the fields Stukprijs a formatnumber expression, but I cannot select Stukprijs to the formatnumber expression.

 

Any ideas? 

 

Aantekening 2020-03-11 170858.png

 
Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    Hi!

     

    There is a new action block to simplify format currency...

    https://flow.microsoft.com/es-es/blog/simplified-number-formatting/

    ... but your flow is based on a 'Get items' output right? Not 100% sure, anyway, your topic should be a good reason for me to start learning Dutch 😅

    If my assumption is right, and this new action block is a valid workaround, then you will probably need to use an Apply to Each to  iterate all over the items. Or, use a expression based on its equivalent WDL function in your Select mapping table

    Hope this helps

  • Verified answer
    Pstork1 Profile Picture
    69,125 Most Valuable Professional on at

    You should be able to use something like this

    formatNumber(variables('TargetNumber'),'$#.00')

     Just substitute your dynamic content and the appropriate currency symbol

  • Rbovenkamp Profile Picture
    28 on at

    Unfortunately 

    Aantekening 2020-03-11 175058.pngAantekening 2020-03-11 175159.png

     

  • Rbovenkamp Profile Picture
    28 on at

    Yes it's based on a get items output. But isn't there a way to transform the data in the select block directly with an expression? 

  • efialttes Profile Picture
    14,756 on at

    Oops!

    The error you just shared is because of using a variable in your expression that does not exist called 'Stukprijs'.

    Following @Pstork1 recommendation, I would use instead

     

     

    formatNumber(item('Stukprijs'),'$#.00')

     

     

    If this also fails, please hover the mouse over the first SP dynamic content you assigned at the beginning to your Select 'price' column, and share the screenshot so we can identify the Stukprijs internal name in your Sharepoint list ... since sometimes the SP column internal name does not match with the one shown by the Flow User Interface

    Thanx!

  • Rbovenkamp Profile Picture
    28 on at

    Thanks Efialttes,

     

     Naamloos.png

  • efialttes Profile Picture
    14,756 on at

    Hi!

     

    Following @Pstork1 recommendation, I would replace currentassigned value

     

    item()?['Stukprijs']

     

     

    and use this expression instead

     

    formatNumber(item()['Stukprijs'],'$#.00')

     

     

    Hope this helps

     

  • Rbovenkamp Profile Picture
    28 on at

    Aantekening 2020-03-11 180925.png

  • Verified answer
    efialttes Profile Picture
    14,756 on at
    Hi again
    There is a typo on the expression
    formatNumber(item()?['Stukprijs'],'$#.00')
    TRy now
  • Rbovenkamp Profile Picture
    28 on at

    Thank you very much! That worked!

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 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard