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 / Multiple AddColumns in...
Power Automate
Unanswered

Multiple AddColumns in DataTable Without using collection

(0) ShareShare
ReportReport
Posted on by

I was trying to format and add and combine columns but still error.

I've tried to use Group by but gives me an error.

 

Ash26_0-1696908434910.png

 

 

Categories:
I have the same question (0)
  • Ash26 Profile Picture
    on at

    Statement #1: Error

    AddColumns( NewExpense,"VAT Amount",Text(Value(VAT_Amount),"[$-en-US]###,###,###.00")) ;
    AddColumns( NewExpense,"VAT Amount",Text(Value(VAT_Amount),"[$-en-US]###,###,###.00"))

     

    Statement #2: Error

    AddColumns( NwExp,"VATAmount",Text(Value(VAT_Amount),"[$-en-US]###,###,###.00"),
                                       "EAmount",Text(Value(VAT_Amount),"[$-en-US]###,###,###.00")

    )

     

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Ash26 ,

     

    Firstly , your formula is PowerApps Fx that can not be used in power automate.

     

    Secondly, If your scene is a canvas app , the Statement #2 looks fine . Could you please show me what the error message is ? Could you please show me the data structure of NwExp ?

     

    Best Regards,

    Bof

  • Ash26 Profile Picture
    on at

    Hi I have found another solution but this it was encoded in column text property

    but I dont know what is the cons of using this

    Right(Substitute("xxxxxxxxxxxxxx", "x", Char(127)) & Text(ThisItem.VAT_Amout, "#,###,0.00"), 14)

     

    This is how it look now but before imagine it has 10 decimal place 

    Ash26_0-1696910297002.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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard