Cathy Liu
03/03/2025, 9:48 PMJoseph Heun
03/03/2025, 11:07 PMCathy Liu
03/04/2025, 11:37 PMJoseph Heun
03/06/2025, 11:25 PMMauricio Cabezas
03/07/2025, 4:20 PMSELECT SUM({fact/totalamount})
WHERE {label/SaleDate.day} =
(SELECT MAX({label/SaleDate.day},{dataset/salesdata}) BY ALL OTHER)
As you can see in the screenshot, I got the 'value' for the maximum date (2/17/2025).
Please note that if you have multiple rows with the same maximum date, this metric will sum the values for all of those rows.
Is this what you were aiming to achieve?Cathy Liu
04/10/2025, 4:18 AM