Hi Pullareddy,
Have you tried adding the query with a % at the end of HARDWARE category so that you could fetch all the tickets with HARDWARE and under that category? Let me know if this little change helped your query
Try to run the same query on the DB to see if you are able to fetch the results as per your requirement to save some tim eon CABI reports.