The datediff post this step is giving error: Mismatched aggregation. Custom aggregations can’t contain both aggregated and nonaggregated fields, in any combination.
Time Difference in Days = dateDiff(
{Previous field Timestamp},
{field Timestamp},
‘DD’
)
Can someone please help with a workaround?
If i use “fieldTimestamp” = min({time}) in place of minOver, it gives me the lags - but how do i show it in a single KPI?
I want overall time difference between consecutive fields per user who have submitted multiple fields
For the same data, i also want to check for how many users, the selected statements are the same more than once?
The issue seems to be arising from trying to incorporate an aggregated field with a pre-aggregated field as Quick Sight does not allow you to handle scenarios like these.
Here are a couple helpful articles that dive deeper into scenarios where mismatched aggregations arise:
I’d suggest to review these and see if it helps diagnose your issue; if you have any additional questions, it may be easier to assist further if you’re able to create an anonymized copy of your dataset and upload the analysis to Quick Sight Arena so that we can test out various work arounds.
Following up here as it’s been awhile since last communication took place on this thread; did you have any additional questions regarding your initial post?
If we do not hear back within the next 3 business days, I’ll close out this topic.
Since we have not heard back further, 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.