Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
posywang
Creator II
Creator II

How can I have a dynamic subtotal based on threshold?

Hi,

I was trying to create a pivot table that only shows data over threshold. I was able to create an expression that show and hide based on the input threshold. However, the subtotal doesn't change at all and always shows the original subtotal. I attached a sample file for your reference. Please advise. Thank you!

1 Solution

Accepted Solutions
MayilVahanan

Hi @posywang 

Try like below

sum({<OrderDate={"=Sum(UnitTotal)>=$(v1)"}>}UnitTotal)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

2 Replies
MayilVahanan

Hi @posywang 

Try like below

sum({<OrderDate={"=Sum(UnitTotal)>=$(v1)"}>}UnitTotal)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
posywang
Creator II
Creator II
Author

It works! Thank you so much for your help!!