How to make a moving sum of the last 30 days for each day of the month in Quicksight?

Hi @nicolaslucarangek, besides using custom SQL – I’m out of ideas. Check out some of the functions. Also, try using the Amazon Q Assistant on the function documentation page.

Another approach is using Generative BI, you can use natural language prompts to create calculated fields within QuickSight, as shown in the following image. For more information about calculated fields in analyses, see Adding calculated fields.
Amazon Q Build Calculation

In case you need further assistance with your problem, please create a sample dashboard with sample dataset showing your problem state using Arena and post it here, so we can look at it from a fresh perspective. (Details on using Arena can be found here - QuickSight Arena)