Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have one Expression as say : Sum(Aggr(Visits,VisitFull))
and i am making one WTD Condtion in Calander Script :
If( Weekday(Date) <= Weekday(Today()-1), 1, 0) as IsInWTD ...
So i Currently i am putting Sum({<IsInWTD={1}>}Visits) .... But i want Aggr this Expression on VisitFull...
So i want to Use This Set Analysis : {<IsInWTD={1} In Sum(Aggr(Visits,VisitFull)) Aggre expression...
Kinldy Help me on this
hi
try this
expression
=Sum({<IsInWTD={1}>}Aggr(Visits,VisitFull))
hope this help you
Thanks & Regards
Ahmar Ansari
SUM( Aggr(Sum({<IsInWTD={1}>}Visits),VisitFull))
try this
if(sum(aggr(sum({<IsInWTD={1}>}visits),visitfull))
or
sum(aggr(sum({<IsInWTD={1}>}visits),visitfull)
Or even
SUM({<IsInWTD={1}>} Aggr(Sum({<IsInWTD={1}>}Visits),VisitFull))
hi
try this
expression
=Sum({<IsInWTD={1}>}Aggr(Visits,VisitFull))
hope this help you
Thanks & Regards
Ahmar Ansari
What purpose does the Aggr() serve? In most cases, Sum(Aggr(Sum({.} F1), F2) is the same as Sum(F1) and much more expensive to calculate. If you are trying filter, then rather use something like:
Sum({<F2 = P(F2)>} F1)