Maximilian Grabmayr
07/29/2024, 7:43 PMJoseph Heun
07/29/2024, 8:13 PMMichal HauzĂrek
07/30/2024, 2:48 PMSELECT AVG(
SELECT DATETIME_DIFF(
(SELECT MIN({label/milestone_date.day},{dataset/milestones}) BY {label/milestones.id} WHERE {label/milestone_name}="Milestone A"),
(SELECT MIN({label/milestone_date.day},{dataset/milestones}) BY {label/milestones.id} WHERE {label/milestone_name}="Milestone C")
,DAY)
)
Maximilian Grabmayr
07/30/2024, 3:06 PM{
"title": "Bad Request",
"status": 400,
"detail": "A result cache error has occurred during the calculation of the result",
"resultId": "ca93032c33e1be919b058c58da35de86a5f40edd",
"reason": "Aggregation dimension='[attribute/cube_milestones.meilenstein/c28a880ab9ef4b069e3d3d5a0bcefc84]' is not comparable to the dimensionality='[dataset/cube_milestones_calc/c28a880ab9ef4b069e3d3d5a0bcefc84]' of the subtree",
"traceId": "c5e77776b5e5ea29f7a8db10742c9ceb"
}
will i need to mention the iteration through the ids of the actual lines?Michal HauzĂrek
07/30/2024, 3:13 PMMaximilian Grabmayr
07/30/2024, 3:22 PMMaximilian Grabmayr
07/30/2024, 3:23 PMMaximilian Grabmayr
07/30/2024, 3:28 PMMichal HauzĂrek
07/30/2024, 3:39 PMBY meilenstein
in those inner metrics , but it should be BY id
(fahrt_id in your case probably)
(you want to be calculating the MIN date for each id)Maximilian Grabmayr
07/30/2024, 4:33 PMMichal HauzĂrek
07/30/2024, 4:46 PMMaximilian Grabmayr
07/30/2024, 7:00 PM