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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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;