Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
didierodayo
Partner - Creator III
Partner - Creator III

aggr expression error

Hello,

my expression below isn't working when I try to add a condition. Please where is my mistake?

WORKING

=aggr(sum(building),Date)

ERROR:

sum(Aggr(If(growthdate=builddate,building),Date))

Thanks

1 Solution

Accepted Solutions
sunny_talwar

Without knowing too much, may be this:

=Sum(Aggr(If(growthdate = builddate, Sum(building)),Date))

View solution in original post

3 Replies
petter
Partner - Champion III
Partner - Champion III

I think you should try this:

Aggr( Sum( If( growthdat=builddate, building ) ) , Date )

sunny_talwar

Without knowing too much, may be this:

=Sum(Aggr(If(growthdate = builddate, Sum(building)),Date))

petter
Partner - Champion III
Partner - Champion III

Aggr( Sum( {<UniqueID={"=growthdate=builddate"}>} building ) , Date )

I don't know which field in the table that contains the field building that might qualify for a unique row id. But I just called it UniqueID and you have to replace it accordingly.