Multiple values in the same time rendered in the same series not a new one

Hi,
So if I have this table
Screenshot_1229
and my two variables are


and my query is
Screenshot_1230

I get the following results once I choose more than one category or sub category


which is several values in the same time in the same graph, not as a new series based on the category, how to solve that?
Thanks

And even if I use a separate new query, the problem remains but with new series.

OK, I figured it out if anyone later struggled with it, I used the category as a metric which is already used as a variable, and repeat function for the subcategory.