Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filtering yrs of data and sales person

Hi,

I'm a newbie, I'm trying to figure out how to

•        Read only the current 3 years of data using a variable

•        Read only salesmen (all employees who have sales) from Employees table

See attached my first attempt.

Thanks

Cheers


2 Replies
hic
Former Employee
Former Employee

You could for instance do:

Let vToday = Num( Today() );

Transactions:
Load
TransactionDate,
SalesManID as EmployeeID,

resident TransactionTable
Where TransactionDate >= AddMonths($(vToday), -36) ;

Salesmen:
Left Keep (Transactions)
Load
EmployeeID,

resident Employees ;

Not applicable
Author

Hi Hendric,

Thanks you so much.  I'm going to try it out.

Cheers

Rash