Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
ajithsachin
Partner - Contributor II
Partner - Contributor II

Hiding rows in a straight table

Hi All,

     I have a straight table and i need to suppress rows as per my expression.

     Example i have a sum(amount) expression and need to show the rows only sum(amount)>1000 with out set analysis.

     is there any other option..?

1 Solution

Accepted Solutions
er_mohit
Master II
Master II

try this

sum(if(amount>1000,amount,0))

and make sure in presentation tab check on supress null value

the other way to do this on dimension tab write there for one dimension

in add calculated dimension that

aggr(if(amount>1000,Dimensionfield),Dimensionfield))

in label side write the name of Dimensionfield

make sure check on suppress null value

View solution in original post

4 Replies
ariel_klien
Specialist
Specialist

Hi

You can try:

if(sum(amount)>1000,sum(amount),null())

BR

Ariel

Not applicable

try this

if(sum(amount)>1000,sum(amount),' ')

or try this


if(sum(amount)>1000,sum(amount),0)

er_mohit
Master II
Master II

try this

sum(if(amount>1000,amount,0))

and make sure in presentation tab check on supress null value

the other way to do this on dimension tab write there for one dimension

in add calculated dimension that

aggr(if(amount>1000,Dimensionfield),Dimensionfield))

in label side write the name of Dimensionfield

make sure check on suppress null value

padmanabhan_ram
Creator II
Creator II

if you can perform it in the script level then try using Set HidePrefix = %;

and use %field name in the expression.. hope this helps you.