If you were in my recent session at the DataANZ 2021 conference I mentioned that I would make a copy of the queries I created during that session so here they are!
In my demos I used the Adventure Works 2020 pbix file from here https://aka.ms/dax-docs-samples
And I added the following simple measure to the Sales table:
Total Sales = SUM( Sales[Sales Amount])
You can download the script of the demo queries from my OneDrive