Quite simple (if I understood your requirement correctly) and I don't think you need to bother Lars for this.
.
Find the models and output below.
Data:
![data.JPG]()
Analytic view design:
![AV_1.JPG]()
![AV_2.JPG]()
Analytic View Query output:
![AV_out.JPG]()
Calc View design:
![CV_1.JPG]()
![CV_2.JPG]()
![CV_3.JPG]()
![CV_4.JPG]()
CV query output:
![CV_out.JPG]()
Hope this helps.
Regards,
Ravi