cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jason_Collet
Frequent Visitor

Plain Text Content Control as Currency

Greetings,

After watching this video...

https://flow.microsoft.com/en-us/blog/intermediate-flow-of-the-week-create-pdf-invoices-using-word-t...
...I became inspired, and started working on a Flow that would generate Purchase Order Requests.  Following the instructions as per the video, I've created a Word Document with several Plain Text Content Controls:

PO_Doc.jpg

Everything goes as planned until we hit the first entry that I need formatted as currency.  In the example above, the entry for "Price1" will not allow me to have a floating zero..."43.60" immediately becomes "43.6".  The data is pulled from a Sharepoint list which has the column settings for "Currency".

From what I have been able to research, the only way to accomplish formatting currency in this way is through a macro.  I've attempted to apply a macro in several places in the document, and have not had any success.  Any insight would be greatly appreciated.

3 REPLIES 3
Community Support
Community Support

Re: Plain Text Content Control as Currency

Hi @Jason_Collet ,

 

Have you seen the format of this field value in Flow run history?

We need to determine if the field has been formatted in Flow or changed when it is inserted into Word Template.

If it is the former, we may be able to make changes in Flow; if it is the latter, I am afraid that Flow is not working.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Jason_Collet
Frequent Visitor

Re: Plain Text Content Control as Currency

Thank you for the prompt reply.  Just ran the flow again, and you are spot on...that is the culprit:

Flow.jpg

For good measure, here is the "Populate a Microsoft Word Template":
FlowPop.jpg
Is there an Expression I am supposed to apply against the Dynamic Content to keep the column settings as Currency?

Jason_Collet
Frequent Visitor

Re: Plain Text Content Control as Currency

From my research (please see the other posts in this thread), it is indeed the *former*--the field has been formatted in Flow.  What changes may be made in Flow to allow for currency format?

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,754)