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 use Expressions...
Power Automate
Answered

How to use Expressions (Add)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi @RezaDorrani,

 

Firstly, thank you for sharing the expressions #01 series on youtube. It helped me a lot. to understand expressions in Power Automate.

 

I have some queries.

  1. I am using expressions to calculate values in approx 54 sharepoint columns (total 120) which consist of many arithmetic + logical functions. These calculations will be done for approx 2000 rows every time. The resultant schema is passed to PowerApps for analysis. Do you think I am overloading PowerAutomate?
  2. How can I count 12 columns only when the values inside them are not null? Similar to COUNTA in excel.
  3. How can I add more than 2 parameters using Add function? I need to calculate sum of more than 12 columns.

1.png

 

Can you please help?

Others can help too if they know the solution.

 

Best,

Aakash

 

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    1. If only has 54 SharePoint calculate columns, it doesn't overload the limits of expression, the characters limitation is 131,072 characters. If you are familiar with calculate column in SharePoint, you could consider using it which will be easier achieved than expression.

    Examples of common formulas in lists - SharePoint (microsoft.com)

    2. You could use expression empty() to check if each column is true. Then use if() function to switch output. For example:

    if(empty(variable('columnA')),0,variable('columnA'))

    3. The add() function only accepts two parameters, add(<summand_1>, <summand_2>).  So if 8 columns add, the expression will be as below:

    add(add(add(column1,column2),add(column3,column4)),add(add(column5,column6),add(column7,column8)))

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard