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

How to filter data in a pivot or a table

I have a table with 3 date groups. Current year , previous year and forecast. I need to make 3 identical tables pivot tables one with each date type as a filter. meaning one for current year , one for previous year etc.

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can add a filter to the expressions in your pivot charts. Suppose you have an expression sum(Sales). You can change it into sum({<DateGroup={'Current year'}>}Sales). This will first calculate a set for the chart that filters the records on the field DateGroup to consider only those with value 'Current year'. This set is then used by the chart to calculate the sums of the field Sales for the chart dimensions.


talk is cheap, supply exceeds demand
Not applicable
Author

Great i ll check it out and let you know