Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filter and view data

Hi,

I would like to view only certain data (in this example, where field1+field2 >= 40).  This is a straight table.

I have 3 fields in the data, serial#, field1 and field2. 

Calculated field has expression Calculated field = field1+field2. 

Visible has expression where if(field1+field2>=40, 'Y', 'N')

Serial#Field1Field2Calculated FieldVisible
1112132N
2122234N
3132336N
4142438N
5152540Y
6162642Y
7172744Y
8182846Y

Qn1: 

How can i see the table in the following format?  Do i need to create another tabe?  do i have to do the calculated in expression tab, or general tab->expression?

Serial#Field1Field2Calculated Field
5152540
6162642
7172744
8182846

Qn2:

How can i expression "visible" in 1st original table without reusing the formula, ie. if(field1+field2>=40, 'Y', 'N') or can i use if(column(4)>=40,'Y', 'N'))?

thanks!

1 Solution

Accepted Solutions
ariel_klien
Specialist
Specialist

hi,

1) create a chart > straight table

2) select dimensions Serial#,Field1,Field2

3) expression : =if(Field1+Field2>=40,Field1+Field2,null())

that will do it...

BR

Ariel

View solution in original post

10 Replies
sujeetsingh
Master III
Master III

Try to go with this sample

Not applicable
Author

I am using personal edition of qlikview... possible to elaborate in this forum? thanks,,,

ariel_klien
Specialist
Specialist

Hi,

i attached a file.

i hope this will help you.

BR

Ariel

ariel_klien
Specialist
Specialist

hi,

1) create a chart > straight table

2) select dimensions Serial#,Field1,Field2

3) expression : =if(Field1+Field2>=40,Field1+Field2,null())

that will do it...

BR

Ariel

Not applicable
Author

Sorry, possible to elaborate in word, as i am using a personal edition of qlikview?

much appreciated.

sujeetsingh
Master III
Master III

Use expression as if(sum(Quantity)>3,sum(Quantity),Null())

Not applicable
Author

Thanks!

Can i also check, how can i use this table as a "selection box"?

Basically, i would like to select the values that are visible.  I have a large data, so it's difficult to select and scroll to the end.

ariel_klien
Specialist
Specialist

Hi

make another field in your LOAD :

Field1+Field2 as Calculated_Field

then you can do that

BR

Ariel

sujeetsingh
Master III
Master III

Hi,

At espresiion use as

If condition will give you only SUM(Field1)+Sum(Field2) greater than some value else null().