Is there a way to aggregate a text dimension into a list of unique values in AQL? My intention is achieve a single field with a list of all relevant values per line rather than adding in the dimension and having each unique value split into a new line.
Hi Tai,
Thank you for pointing us to the unique() AQL function. Very helpful!
One thing I discovered when using this function is that the ‘pill’ visualization of unique values (like you have in your examples) is replaced by an array when changes are made on the same canvas dashboard. This converts your example to [“New York”,“Chicago”] in the visual.
I tested this on a handful of simple canvas dashboards and have confirmed that even adding a comment in the code causes the visualization to revert to an array from the pill format.
Hi @Bob_Adams, Thank you for bringing this issue to our attention. Our engineers have identified this as a bug on our end. We are actively working on a patch to resolve this and it should be available soon.
I will keep you updated and inform you as soon as the patch is released. We apologize for any inconvenience this has caused you and your team.