Hi @nenadvukovic, if you create a bar chart with 2 dimensions and more than one measure it creates that kind of chart by defaut. You can also disable the legend for 2nd dimension to show tham more like your example:
If you check my qvw, it also has your data, and it shows as your original example without the need of changing the model. Maybe you can create a field instead of using the calculated dimension but no more changes are needed.
The point is, as I was expecting would be clear from the initial screen shot to group bars by several dim2 values. I tried to color-code thos for easier understanding of the request. So, all Ps to be shown as one stacjed bar for each year, then all Cs, etc.,