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 / Calculate taxes, conve...
Power Automate
Unanswered

Calculate taxes, convert in currency or decimal number to use them in Word via quick parts not possible

(0) ShareShare
ReportReport
Posted on by 2

Dear all,

I created a flow in which I get input (hours in a contract) from a Forms, which then calculates a price and responding taxes.

These informations are all collected correctly, but when I try to transfer them to my Word file via quick parts, it always messes up the format of that number.

Here a quick explanation:

- input via Forms (hours) is 10, which will be multiplied by 100 to get the final net price of 1000€

- then the taxes are calculated with a formula, lets take 19% which equals in 190€, so 1190€ in total

- that number is used in "update file properties" and published to sharepoint column name "total"

- when I add the quick part "total" to my word file, the result will show up as 1190

 

but what I am aiming for is, to have it formatted to 1.190,00€. that does work in some manner, but if the number contains a decimal, it messes up my document.

 

do you have any idea on how to use the output of my formula as a currency or at least a decimal number with 2 digits, formatted to my wanted format?

I tried a lot of different ways with formatNumbers(), i read all of the knowledgebase articles, but i wasnt smart enough to figure it out on my own.

Any kind of input is highly appreciated.

Cheers.

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Hi @finnsch,

     

    This sounds more like a Sharepoint issue. What is the type of the total column in Sharepoint? Try changing it to currency and I suspect that will solve your issue.

     

    Cheers,

    Ben

  • finnsch Profile Picture
    2 on at

    Hi Ben,

     

    thank you vor your input.

    I tried that already and it always triggers this error:

    The 'inputs.parameters' of workflow operation 'Update_file_properties' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/brutto' is required to be of type 'Number/double'. The runtime value '"3.962,70 €"' to be converted doesn't have the expected format 'Number/double'.

     

    Here is my flow, maybe I am thinking in a wrong direction.

    flowflowupdate file propertiesupdate file propertiescolumn sharepointcolumn sharepoint

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard