Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Yuhka
Contributor III
Contributor III

Filtering records using variable

 

Hello everuone, I'm new to qlikview.

I have a straigh table to count number, and I would like to use variable to filter recoeds as follows.

キャプチャ.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

Is it possible to filtering result like this?

Thank you for your support.

 

 

 

Labels (1)
1 Solution

Accepted Solutions
jyothish8807
Master II
Master II

Hi Yuhka,

You can also create a calculated dimension like this:

=if(Aggr(Count(No),Code)>=vCountNo,Code)

And keep your expression as it is. Click on suppress Null value on dimension (ref attached)

Best Regards,
KC

View solution in original post

3 Replies
tresesco
MVP
MVP

You could use expression like: 

=if(Count(No)>=vCountNo, Count(No))

However, this would only show the other irrelevant rows as blank, if you need to filter the entire chart on this condition, you have to use similar condition for all the others expressions, and allow suppress options in presentation tab.

jyothish8807
Master II
Master II

Hi Yuhka,

You can also create a calculated dimension like this:

=if(Aggr(Count(No),Code)>=vCountNo,Code)

And keep your expression as it is. Click on suppress Null value on dimension (ref attached)

Best Regards,
KC
Yuhka
Contributor III
Contributor III
Author

Thank you for your support, guys.

@jyothish8807, it is what I wanted to do! Thank you for your help!!