Skip to Content
author's profile photo Former Member
Former Member

Parenthesis in Formulas in Queries

I would like to use parenthesis in my formula in a query. However after I close down the formula the parenthesis disappear... isn't there a way to control the order of the calculation in a formula?

BR

/Daniel

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 02, 2005 at 03:20 PM

    Hi Daniel,

    doesn't it work the usual way??

    • : before + -

    What's the formula?

    Regards,

    Michael

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Lets try:

      ((Invoice amount/Invoice Quantity)/Total year value)-1

      Invoice amount = 100

      Invoice Quantity = 10

      Total year value 1000

      with the "(" the result would be:

      ((100/10)/1000)-1 => (10/1000)-1 => 0,01-1= -0,99

      without the "(" the result would be:

      100/10/1000-1= -0,99

      You are absolutly right! The "(" are automatically removed when they are not necessary.

      😊

      Best Regards

      /Daniel

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.