Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Chart to display data only for last 6 months

Hello,

I want to create some pie charts but I want my data to be only for the last 6 months, not longer.

I want to count(Distinct CaseNumber) based by the field 'Date'.

Do you have any idea how can I achieve this ?

Thank you !

1 Solution

Accepted Solutions
Gysbert_Wassenaar

You can use a set analysis expression to select the Date values of the last six months:

count({<Date={'>$(=AddMonths(Max(Date),-6))'}>} Distinct CaseNumber)


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

You can use a set analysis expression to select the Date values of the last six months:

count({<Date={'>$(=AddMonths(Max(Date),-6))'}>} Distinct CaseNumber)


talk is cheap, supply exceeds demand
Not applicable
Author

Thank you very much !