In my Quick Sight application I have imported dataset with 5 columns:
Bkname,event_name,event_start,turnover,model_turnover
How do I calcualte R squared per bkname like in the picture.
I was able to calcualte Numerator, or SSR in the picture. I have problems with calculating Denominator with calculated fields.
Numerator was calcualted like this
power({turnover} - {model_turnover}, 2)
How can i calcualte denominator? We need to substract row value from mean group value and then sum over squared differences per bkname group.
I was able to get group (bkname) avg, and then in visuals I was able to substract row value (turnover) from mean group turnover value, but I was unable to figure out how to now sum over those differences?
For help, I will be grateful.
Regards
Jernej
