Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filter Values Greater than 1

Hello,

I have a field called Values

            Values

              0.5        

              0.3       

              0.4        

              1.5        

              1.8         

              0.2

              0.3       

and I have a Pivot Table that has:

Name            Values      Volume

Totals              5.0          340

Blue                0.5          100

Red                0.3          50

Yellow             0.4          40

Black              1.5          20

Green             1.8          80

Orange           0.2          30

Pink               0.3          20

Is there a way to filter the values that are greater than and equal to 1 and less than 1?

Expected Output if greater than one is chosen:

Name            Values      Volume

Totals              3.3            100

Black              1.5             20

Green             1.8             80

and same with the less than

Thank you

Message was edited by: Roy Morales

9 Replies
krishnacbe
Partner - Specialist III
Partner - Specialist III

can you please share the expected output

sunny_talwar

Is this a dimension or expression?

Not applicable
Author

I have updated my question

ciaran_mcgowan
Partner - Creator III
Partner - Creator III

This will show everything greater than or equal to 1

     if(Values>=1, Volume)

And this will show everything less than

     if(Values<1, Volume)

If these are your only expressions, then any volume that doesn't meet you criteria won't be displayed.

krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi,

PFA the sample qvw. hope that helps.

Anil_Babu_Samineni

Something Like this,

=If(sum({<[Comapny Name] = {"Volume>=1","Volume<1"}>})Sales)

OR

==If(sum({<[Comapny Name] = {"Volume" : ">=1 and <1"}>})Sales)

- Anil Chowdary

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

r1.JPGr2.JPGr3.JPG

You can done with this way, hope it helps

Not applicable
Author

How can i put formula where i have data from negative to positive and i need from -1 to +1..

ciaran_mcgowan
Partner - Creator III
Partner - Creator III

if(DATA >= -1 AND DATA <= 1, VALUE)