Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Multiple Nested Aggregations in Alternate State

Hi All,

I am trying to compute an aggregation of a monthly count divided by another monthly count in alternative state. The two equations compute correctly before I try to divide, but the division is calculating correctly. Is there something that I am missing?

Thank you in advance!

=Sum({[Curr]<[Region]=$::[Region], [Primary Cost Center]=$:: [Primary Cost Center]>}Aggr(Count({[Curr]<[Region]=$::[Region], [Primary Cost Center]=$:: [Primary Cost Center]>}Distinct(If(CancellationStatus='On-Assignment Cancellation' and DateType='CancellationDate', [Contractor ID]))),MonthYear))

/

Sum({[Curr]<[Region]=$::[Region], [Primary Cost Center]=$:: [Primary Cost Center]>}Aggr(Count({[Curr]<[Region]=$::[Region], [Primary Cost Center]=$:: [Primary Cost Center]>}Distinct(if(DateType='OADate', [Contractor ID])))*.9,MonthYear))

1 Reply
sunny_talwar

Would you be able to share a sample to check this out?