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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

AGGR()

I want to create a new table with a new field in the load script, this field ahould be calculated as following

AGGR(MAX(DATE),AGENT)

But, as I understand, this function is only for set analysis. Is there an opportunity to make such field using other functions?

Labels (1)
1 Reply
sunny_talwar

You can do something like this:

Fact:

LOAD Date,

          Agent,

          OtherFields...

FROM Source;

AggregatedTable:

LOAD Agent,

           Max(Date) as MaxDate

Resident Fact

Group By Agent;