Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Count expression disregarding filters

I have a data set that spans multiple years and i need an expression that ignores any filters, but i need to apply conditions to the entire data set.

this expression works with the filter, but i need to applly this across the entire dataset

Count(If((Mid([PIID], 10, 1) <> 'G')

and ([Base And Alloptions Amnt] > 500000 and [Base And Alloptions Amnt] <=2500000)

and ([Mod Number] = 0)

and ([Contr Office ID] <> left ([RefIDV PIID], 6)), [Contr Office ID]))

1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this

Count({1} If((Mid([PIID], 10, 1) <> 'G')

and ([Base And Alloptions Amnt] > 500000 and [Base And Alloptions Amnt] <=2500000)

and ([Mod Number] = 0)

and ([Contr Office ID] <> left ([RefIDV PIID], 6)), [Contr Office ID]))

View solution in original post

3 Replies
sunny_talwar
MVP
MVP

May be this

Count({1} If((Mid([PIID], 10, 1) <> 'G')

and ([Base And Alloptions Amnt] > 500000 and [Base And Alloptions Amnt] <=2500000)

and ([Mod Number] = 0)

and ([Contr Office ID] <> left ([RefIDV PIID], 6)), [Contr Office ID]))

agigliotti
MVP
MVP

maybe this:

Count( {1} If((Mid([PIID], 10, 1) <> 'G')

and ([Base And Alloptions Amnt] > 500000 and [Base And Alloptions Amnt] <=2500000)

and ([Mod Number] = 0)

and ([Contr Office ID] <> left ([RefIDV PIID], 6)), [Contr Office ID]))

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
Anonymous
Not applicable
Author

Again you ROCK!