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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

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
MVP
MVP

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.