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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
bharani8
Creator III
Creator III

Aggr function can be used in Script ?

Hi Team - Can Aggr() can be used in script ?

5 Replies
tresesco
MVP
MVP

NO

jonathandienst
Partner - Champion III
Partner - Champion III

No. The nearest script equivalent is Group By.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
sunny_talwar

What exactly are you trying to do?

Anonymous
Not applicable

I'm trying to build a new field in SCRIPT based on this SUMIF function:

=SUMIFS($A$2:$A$433360,A2,$D$2:$D$433360)

maxsheva
Creator II
Creator II

I see your formula is related to SUMIF range, criteria, [sum_range]

In order to get such in script try to use early mentioned Group by

GetExcelFormula:

LOAD

sum(columnD)

Group by columnA;

LOAD * Inline [

columnA, columnD

A, 100

A, 50

B, 200

B, 70];