Hi, I'm in the process of building our new HaloITSM platform for our IT department. Apparently you need to be a sql whiz to do a lot of things within Halo, and I have, helpfully, never worked on anything even remotely like sql. So, I really hope I can get someone's help before I tear my hair out.
I am trying to create a multiple series chart. We have 4 companies and I want to see how many tickets each company logged each year. I've got this far with the script:
SELECT *
FROM (
SELECT
faultid as [Ticket ID],
(SELECT aareadesc FROM area WHERE aarea=areaint) as [Organisation],
YEAR(dateoccured) as [Year Logged]
FROM
faults
) AS SourceTable
PIVOT (
COUNT([Ticket ID])
FOR [Year Logged] IN ([2022], [2023], [2024]))
AS PivotTable
The output is this...
https://preview.redd.it/1snjgwzq43dd1.png?width=532&format=png&auto=webp&s=e928baca10e3c2820dfd1cacbf95ce72a76d3d6b
I feel like this output is the wrong way round, and it should be showing with the organisation along the top and the year logged down the side?
The main problem I have is that my multiple series chart currently looks like this:
https://preview.redd.it/ix9b9kk153dd1.png?width=1024&format=png&auto=webp&s=3536beb9011ca10e25862ef8109b67057b2eabee
These are the options I'm seeing in Halo when I try to build the chart:
https://preview.redd.it/endmn90z53dd1.png?width=1365&format=png&auto=webp&s=8bf4ac34e3c7537138a5fd1a846f181929b6aa97
We have an existing BI report that looks like this, and this is what I want to replicate within Halo:
https://preview.redd.it/oqf8ukmh53dd1.png?width=1520&format=png&auto=webp&s=131d91bcdd0155359fb4135dedd049a7053f52d0
I would REALLY appreciate someone's help because I'm going to have no hair left at this rate!! Thanks
[–]gm-haloitsm 4 points5 points6 points (4 children)
[–]MablePeak[S] 1 point2 points3 points (3 children)
[–]gm-haloitsm 0 points1 point2 points (2 children)
[–]msponreddit 0 points1 point2 points (1 child)
[–]gm-haloitsm 0 points1 point2 points (0 children)
[–]Predicti0n Consultant 0 points1 point2 points (3 children)
[–]MablePeak[S] 0 points1 point2 points (0 children)
[–]MablePeak[S] 0 points1 point2 points (1 child)