I want to do add a claculted field, that can add the values that lies in the week. I am doing it as follows: periodToDateSum({DailyLoginStatus}, {AdjustedDates}, WEEK, truncDate('DD', now()))
Getting the following error: Nesting of aggregate functions like {{aggregateFunction1}} and {{aggregateFunction2}} is not allowed.
The DailyLoginStatus is also a calculated Field as follows: ifelse(in(distinct_count({store_id}),[distinct_count({Active-Store_id})]), 1, 0)
If the nested aggregation is not possible, can somebody please suggest what can be done here to achieve the purpose? store_id is the list of stores logged in on a particular date. There can be repeated store_id for a particular date. Active-Store_id is the calculated field, which is calculated as follows:
ifelse(
Hi @priyagoel,
While I’m not completely sure how the ifelse statement in your ‘DailyLoginStatus’ is working, I put together some notes on an alternate way to try this out in an Arena view that’s attached below:
Hi @priyagoel,
Since we haven’t heard back, I’ll go ahead and close out this topic. However, if you have any additional questions, feel free to create a new post in the community and link this discussion for relevant information if needed.