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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot Table Filter

Hello,

I have created a Pivot table and I want to find out how can I exclude certain records from the results. For example I want to include all records from column LY Rolling 6 months greather than 5000 but only if the % Change is greather than -15%

This has to be a Pivot because and not a staright table. I have the following working formula as my LY Rolling 6 months (but I need to find a way to restrict the records)

If('$(vViewMode)'='Units',
Sum({$<PeriodID ={">$(vPreviousPeriodID(18)) <=$(vPreviousPeriodID(12))"},Year=,Month=,Collection-={'Others'}>}qty)

,
sum({$<PeriodID ={
">$(vPreviousPeriodID(18)) <=$(vPreviousPeriodID(12))"},Year=,Month=,Collection-={'Others'}>} $(vNetAmount)*RateConverted))


Pivot.PNG.png

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try using Dimension Limits. See attached qvw for an example.


talk is cheap, supply exceeds demand
Not applicable
Author

Thank you Gysbert,

But when working with Pivot tables you don’t have the option for Dimension Limits. Even if I could change my Pivot to Straight table (I prefer not to because the report is cleaner as a Pivot). I am looking for a dual condition in this case; show only totals greater than 5000 if the % Change is -15 or lower (-12, -10, etc)

Hugo