Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
ManuelLindekeit
Contributor III
Contributor III

Show only products with a min order date in last 90 days

Hi All, 

I have a create a report that shows only Products that have sold for the first time in the past 90 days. 

Does anyone have an idea how to accomplish this? Here is my unsuccessful attempt. 

Count({$<min([Order Date])={">$(=date(Today()-30))"}>}[OrderLines.Order Number])

Thanks in advance.

1 Solution

Accepted Solutions
JuanGerardo
Partner - Specialist
Partner - Specialist

Hi @ManuelLindekeit, I think this is a candidate for the E() function in set analysis:

Count({<[OrderLines.Order Number]=E({1<[Order Date]={"<$(=date(Today()-30))"}>})>} [OrderLines.Order Number])

JG

View solution in original post

1 Reply
JuanGerardo
Partner - Specialist
Partner - Specialist

Hi @ManuelLindekeit, I think this is a candidate for the E() function in set analysis:

Count({<[OrderLines.Order Number]=E({1<[Order Date]={"<$(=date(Today()-30))"}>})>} [OrderLines.Order Number])

JG