Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
Not applicable

creating a table with limits on the expressions

hi,

i would like to create a table that shows revenues of over x amount and below y amount (e.g 1000<revenue<2000), with the regular dimensions (date, customers, countries etc)

how do i do it?

thanks.

Tags (2)
8 Replies
Partner
Partner

Re: creating a table with limits on the expressions

try

TEST:

noconcatenate load

col1,

col2,

revenue

..

resident ActTable

where Revenue > 1000 and Revenue < 2000

you can drop noconcatenate when you donot have a table with same column

I

Re: creating a table with limits on the expressions

Try something like this:

Sum({<Revenue = {'>1000<2000'}>}Revenue)

This will only include revenue between that particular range.

HTH

Best,

S

MVP
MVP

Re: creating a table with limits on the expressions

Hi

Expression:  =If(Sum(Revenue) > 1000 And Sum(Revenue) < 2000, Sum(Revenue))

And make sure suppress zeros is checked (on the Presentation tab)

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
sbobbyraj
Contributor III

Re: creating a table with limits on the expressions

Hi,

Create your graphe with your dimension and the following expression:

if(sum(revenue)>1000 and sum(revenue)<2000,sum(revenue))

Not applicable

Re: creating a table with limits on the expressions

it shows a '-' when the sum is different from the range.

i don't want to see these rows, how do i not show them?

Re: creating a table with limits on the expressions

It should not show '-'. Have you used the condition in your dimension or expression? If you used it in dimension, you may need to check 'Suppress when Null' option on the dimension tab of the properties.

Can you share the exact dimension and expression that you are using?

Best,

Sunny

Not applicable

Re: creating a table with limits on the expressions

it's an expression.

i wrote the line "=If(Sum(Revenue) > 1000 And Sum(Revenue) < 2000, Sum(Revenue))"

in the definition rubric, not the conditional rubric

Re: creating a table with limits on the expressions

Look at a sample application. Does this help? (PFA)

Best,

Sunny