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 Apps / operator precedence
Power Apps
Answered

operator precedence

(0) ShareShare
ReportReport
Posted on by 32

Hi !

 

the question may sound obvious but maybe because I can not find out the exact english expression I can't succeed to find an answer 

 

here is my question 

 

I do have this code

Sum(
Filter(
'PMO 2022';
BUSINESS1>=0);'BUDGETQ1'+'BUDGETQ2'+'BUDGETQ3+'BUDGETQ4'*BUSINESS1/100)

 

But ! I would like not to operate the multiplication by the last BudgetQ4 but with the entire sum !

in normal mathematic it would have been like that 

 

(BUDGETQ1+BUDGETQ2+BUDGETQ3+BUDGETQ4)*BUSINESS1/100

 

can you tell me how to first do the sum and then multiply it by "business1) 

many thx

JeanFred

 

 

Categories:
I have the same question (0)
  • Verified answer
    shoog Profile Picture
    2,164 on at

    You can use the brackets, just like in mathematics, to force precedence.

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @JeanFred 

     

    Edited : with your data

    With(
     {
     _Item: Filter(
     'PMO 2022';
     BUSINESS1 >=0
     );
     _sum: (BUDGETQ1 + BUDGETQ2 + BUDGETQ3 + BUDGETQ4);
     _divide: (BUSINESS1/100)
     },
     _sum + _divide
    )

     

     

     

     

     

  • JeanFred Profile Picture
    32 on at

    gosh I feel very ashame ! thank you to take the time to answer such a dumb question 🐵 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard