Filter

Hello everyone!! My question concerns filters. I am using a complex formula in a measure. The measure will either return null or a value. I am trying to filter the null values. I do not have filter capability on the measure. Let’s call the measure “C” .

I then tried to create another measure called “D”. The formula within states "if isnull© then 0 else 1. I try to do a filter on “D”. Will not filter.

I really would rather avoid the prompts. If anyone can tell me how I can get my filter to work on “C” on the report level; I would greatly appreciate it. I can filter on other measures. I just can not filter on the measure with the complex formula behind it.

Thank you so much for your time!!!


Listserv Archives (BOB member since 2002-06-25)

Hai,
Thanks in advance,

What i have in a crosstab is
1 2 3 4 5 6
A 0 0 0 25 0 0
B 0 0 0 450 0 0
C 0 0 0 0 0 0
D 0 0 0 0 55 0
E 0 0 0 0 0 0
F 0 0 100 0 0 0

And what i want to do is
1 2 3 4 5 6

A 0 0 0 25 0 0
B 0 0 0 450 0 0
D 0 0 0 0 55 0
F 0 0 100 0 0 0

any help is appreciated


Listserv Archives (BOB member since 2002-06-25)

Highlight the entire Crosstab and go to Format -> Filters. Click Add and then select the object represented in your vertical column. Highlight A, B, D, F from the list and click OK.

George Baranowski
QuadraMed


Listserv Archives (BOB member since 2002-06-25)

Kaylan,

You should be able to create a “TOTAL” Field that sums up 1-6 (easily done if this is a crosstab). Then filter your tables to only show those that have a “TOTAL” <> 0.

Thanks!
-rm

From: Kaylan.Ponnala@ENRON.COM
Hai,
Thanks in advance,

What i have in a crosstab is
1 2 3 4 5 6
A 0 0 0 25 0 0
B 0 0 0 450 0 0
C 0 0 0 0 0 0
D 0 0 0 0 55 0
E 0 0 0 0 0 0
F 0 0 100 0 0 0

And what i want to do is
1 2 3 4 5 6

A 0 0 0 25 0 0
B 0 0 0 450 0 0
D 0 0 0 0 55 0
F 0 0 100 0 0 0


Listserv Archives (BOB member since 2002-06-25)

A minor clarification to the solution below:

You can create a total using context, but do NOT use the sum() function. If you do, you will find out that you cannot filter an aggregate function. Aggregates are done after the filtering, and therefore are not valid in a filter expression.

You might be able to do this with a subquery. There is an example of just this type of problem in my most recent “Variables” presentation at our web site.

http://www.islink.com/bobjconf.htm

Regards,
Dave Rathbun
Integra Solutions
www.islink.com

In a message dated Tue, 7 Nov 2000 1:27:39 PM Eastern Standard Time, Robert digpen@CONWAYCORP.NET writes:

<< Kaylan,

You should be able to create a “TOTAL” Field that sums up 1-6 (easily done if this is a crosstab). Then filter your tables to only show those that have a “TOTAL” <> 0.

Thanks!
-rm

From: Kaylan.Ponnala@ENRON.COM
Hai,
Thanks in advance,

What i have in a crosstab is
1 2 3 4 5 6
A 0 0 0 25 0 0
B 0 0 0 450 0 0
C 0 0 0 0 0 0
D 0 0 0 0 55 0
E 0 0 0 0 0 0
F 0 0 100 0 0 0

And what i want to do is
1 2 3 4 5 6

A 0 0 0 25 0 0
B 0 0 0 450 0 0
D 0 0 0 0 55 0
F 0 0 100 0 0 0


Listserv Archives (BOB member since 2002-06-25)

Can anyone help me to tell a way to apply a filter on a formula. I defined the forumula as a variable. Now i want to apply a filter for that variable. How to do it? In the same way, is it possible to hide a row based on certain value?


Listserv Archives (BOB member since 2002-06-25)

Yes, it is possible. However, if your formula aggregates data, you can’t filter on it.


Listserv Archives (BOB member since 2002-06-25)