Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm trying to combine multiple record that are related into same line.
Exp:
this is how my reports looks
ID | Description | Total |
A | Item 1 | $200.00 |
B | Item 1 | $100.00 |
this is how I want it to look.
ID | Description | Total |
A-B | Item 1 | $300.00 |
please let me know how this can be achieve.
thank you so much in advance!
Then try it like this
Dimensions
Aggr(Concat(DISTINCT ID, '-'), Description)
Description
Expression
Sum(Total)
In the script or in the chart?
Perhaps like this:
LOAD
concat(ID, '-') as ID,
Description,
sum(Total) as Total
FROM
...source_table...
GROUP BY
Description
;
how would that work if the ID comes from a different Source Table and linked by description?
I was trying it in the chart originally.
Then try it like this
Dimensions
Aggr(Concat(DISTINCT ID, '-'), Description)
Description
Expression
Sum(Total)
Thank you for all your help!