We saved the Power BI Desktop files (PBIX) used to get every screenshot of the book.
The files have the same name of the figure (chapter / figure number).
You do not need to refresh the files to review the demos.
In case you want to refresh them, the data source is the SQL Server database available in the ContosoRetailDW_2019.bak backup file that you can restore on a SQL Server instance.
The data source in each file is a server name called "Demo" and you can use an alias for that name.
Please, restore the SQL Server database and the connections only if you know how to manage a SQL Server instance. Once again, there is no need to refresh the PBIX files to review the DAX code used in the book.