Raffaella Gozzini
02/13/2024, 1:35 PMFrancisco Antunes
02/13/2024, 2:23 PMSELECT AVG(DATETIME_DIFF({label/hire_date.day},{label/happened_at.day} )BY {dataset/activities}) WHERE {label/content.name}= "x"OR {label/content.name}= "y"
(note I just moved the BY one level “lower”)Raffaella Gozzini
02/13/2024, 2:44 PMRaffaella Gozzini
02/13/2024, 2:49 PMFrancisco Antunes
02/13/2024, 2:55 PMRaffaella Gozzini
02/13/2024, 2:55 PMFrancisco Antunes
02/13/2024, 3:15 PMSELECT AVG(SELECT DATETIME_DIFF({label/hire_date.day},{label/happened_at.day} )BY {dataset/activities}) WHERE {label/content.name}= "x"OR {label/content.name}= "y"
In my tests this did not restrict the available attributes once the metric was inserted to an insight in the Analytical Designer. Would you kindly try it out?Raffaella Gozzini
02/13/2024, 4:45 PMFrancisco Antunes
02/13/2024, 4:48 PM