How to format measurements with different tags

Hello, I had a quick question about how to format some data. My issue is that influxdb will think that two measurements with the same _measurement values but with different tags values are treated differently. I have attached an example image. The red and blue lines are the same _measurement but have adifferent tag value.