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

Bex Formulas and filters issue

Hi,

I have a question on filters.

I have item in my cube and values as 1,2,3 etc. sometimes only 2,3 (no 1).

i need to filter the report in such a way that if item is 1 then filter on it if there is no item 1 then filter on 2 and so forth.

I am using formula bycreating rkf item1 and item2

(Item1 > 0)(Item2 == 0)Item1 + (Item2 > 0)(Item1 == 0)Item2

but it'snot working as expected

say for item1 notifications 1,2,3

for item 2 notifications 1,2,3,4,5

what i want from this is when item 1 display 1,2,3, and when there is not 1 then display 4,5(for item2)

but by this formula for item 1 i am getting 1,2,3, and for item 2 1,2,3,4,5, but i need only 4,5 for item 2 how can we acheive this.

Thanks,

Nav

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2009 at 03:58 PM

    Guys any idea about how to acheive this.

    Thanks,

    Nav

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      It lookslike else is not working properly, If item is 1 give the result for that item else how 2.

      but here if item contains 1 and 2, it's giving 1 and dnot exiting the logic it's even showing 2 any idea where i am going wrong or this logic works like this only.

      Thanks,

      Nav

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.