The files are available in the sample divided in the Sample data release: The Source code includes DAX code and small PBIX files used for specific chapters and demos ...
Open VS Code and press F1 or Ctrl + Shift + P to open command palette, select Install Extension and type lea21st.vscode-sql-formatter. Or launch VS Code Quick Open (Ctrl + P), paste the following ...