If you're just looking to aggregate by customer you can do it with the following data load script. Any reason you wouldn't just let Qlik Sense do this on its own when serving up the content? If your use case is to show the total or running total on the same line in your charts there are set analysis ways to handle this.