Hans Cornette
04/25/2023, 1:43 PMFrancisco Antunes
04/25/2023, 2:51 PMSELECT (Spend) WHERE TOP(1) IN (SELECT Spend BY Country) WITHIN (Category, ALL OTHER)
The bit which makes the difference here is the WITHIN (Category, ALL OTHER)
, which will ensure that it makes the calculation using the values for each category. The TOP filter you had added on the Analytical Designer doesn’t have that extra clause, by design.
Then you can add this metric to your insight and slice it by Category and Country like you did before. It should display the results you are looking for! 🙂Productboard
04/26/2023, 6:25 AMHans Cornette
04/26/2023, 7:59 AM