Merging User Filters

Merging User Filters

I have two different values with the same name in the data. When plotting the graph, if a take average value on Y-axis I get the average of the two similar name values even though their other data are different. Therefore, I want the filter to show values as in below attached image 1. Currently my filter shows values as in image 2.