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

Logical Or

I am trying to filter values out of a quantity key figures. The approach that I have taken is:

1) Create a restricted key figure which will be filter one

2) Create a restricted key figure which will be filter two

3) Create a calculated key figure and placed the following which gives me 1 rather than a difference in terms of value

( 'Quantity Total Stock' * 'Filter1 Value' OR 'Quantity Total Stock' * 'Filter 2 Value' )

How can I adapt this so that it gives me the correct value rather than the logical 1? Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2006 at 03:35 PM

    Hi,

    what are the values of filter one respectively filter 2? 0 for false and 1 for true or different? If (0,1) you can just sum up to create logical or (quantity 1 * filter 1 + quantity 2 * filter 2).

    Best regards,

    Björn

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Muralidhar C

      Hi Murali,

      Please excuse the terms that you are right filter does mean a restricted key figure. Therefore

      Filter1 is just the name of the Restricted Key figure and Filter2 is the name of another Restricted Key figure

      I have determined a way to solve this which meant introducing a new key figure and using if then else conditions. However, I will post a seperate question on the If condition. Have awarded points

      Message was edited by: Niten Shah

  • Posted on Oct 24, 2006 at 03:33 PM

    Hi,

    i didnt get you.whats your requirement exactly?

    <i>How can I adapt this so that it gives me the correct value rather than the logical 1? Thanks</i>

    correct value means??

    Add a comment
    10|10000 characters needed characters exceeded

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.