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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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

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

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
Partner - Champion
Partner - Champion

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]))

Anonymous
Not applicable
Author

Again you ROCK!