I’m trying to display some data in a graph, and I’m struggling awfully. I’m sure it’s super simple and I’m just tired, but been at it for ages and can’t seem to crack it. Any help appreciated.
I have a data type which stores cancellations - it stores a fair few fields but all I’m interested in is counting how many instances of x reason there are, and returning it. It should return how many instances there are of each reason, split by a semicolon so that the graph can interpret each value.
Data Type & relevant fields. The above result should return 1; 1; .
I need to display the results as:
resultA; resultB; resultC;
for the graph to read each value.
I’ve been able to achieve this with the labelling aspect, it takes each item’s ‘reason’ as expected using the following expression:
I’ve tried a whole combination of expressions but to no avail. I currently can count each instance of a cancellation:
but this just counts how many ‘cancellations’ there are, not how many instances of each.
I hope I’ve explained this in enough detail, if anyone has any ideas please do let me know. Much appreciated.
For label, Search for status change request:group by reason’s reason
For values, Search for status change request:group by reason:count
You don’t need to format as and split by, you already have a list in both case.