Group various result selected from two different filter

Have a result dash board of table type and the data is filling up by selected two filter on it and I want to group them by one filter(please refer the image attached)

Current Result dashboard:

Query to fetch data



Can I avail any of the two below expected format if yes how I can achieve this

Please let know if I need to add more information