I'd strongly recommend you to avoid calculated dimensions, as it is memory intensive and can degrade the user experience.
I attached a possible solution, migrating the calculations to the script. Check it out and let me know what you think...
Hope this helps you.
ABC Test.qvw 158.5 K
brilliant solution, never thought it would be possible in the script as well .
Thank you very much for your help .
If I may, I would like to ask one more question:
Do you know a way to show the number which gives the bubble it's size?
When I turn on 'Labels on Datapoints' in the Presentation Tab of the Grid Chart right now, it shows A, B or C.
I want it to say the number of products counted (in this example that would be 1 for eachb bubble).
You can see the number if you put your mousepointer on top of one of the bubbles (behind the "Count (Material - Code & Name" phrase).