ORIGINAL SOURCE: https://sugary-selenium-eb9.notion.site/Power-BI-installation-guide-for-Mac-ed07be30d6b94cf2ad9325dddd38d9d3

This guide provides step-by-step instructions to download and use Power BI on Mac (both Intel and M1/M2 chips).

We will need to set up a Windows Virtual Machine on our Mac in order to install Power BI. We will install Windows 11 using a UTM Virtual Machine in this guide.

MAC OS REQUIREMENTS: MAC OS 11 or Later.. otherwise you cant follow this guide.

Storage requirements.

You will need at least 32 GB of free disc space on your Mac. Check if you have enough storage space available before you start.

Let’s begin.

During the installation process we will use the Mac terminal and configure Windows from scratch. Don’t worry if you haven’t ever done that before, we made this guide informative and easy to understand! Just follow the instructions :)

What Mac chip do I have?

Screenshot 2022-08-30 at 17.16.10.png

  1. Download the UTM Virtual Machine for Mac.

Go to the UTM page for Windows 10/11 by clicking the following link: https://mac.getutm.app/gallery/windows-10

Screenshot 2022-08-30 at 04.11.50.png

You will also find the installation instructions there. Check them in case you find this guide confusing at any point.

Untitled

Press “UTM for Mac”. It will redirect you to a Github page.

Screenshot 2022-08-30 at 04.16.30.png

Scroll down a bit until you see a section called “Assets” and download the “UTM.dmg” file. NOTE make sure you also see 13 May 2022.

Untitled

Find UTM.dmg in your Download dropdown menu and run the file.

Screenshot 2022-08-30 at 04.23.54.png

Drag the UTM icon and drop it into the Applications folder.

Screenshot 2022-08-30 at 04.24.41.png

Once the installation is complete you may close this tab.

Now you can run UTM from your Applications folder.

  1. Generate the ISO file for Windows 11.

Here it is important to download the right file for your Mac. If you have a Mac with ****the M1/M2 chip, you should pick “Windows 11 Insider Preview 10.0.22000.160 (co_release) arm64 | arm64 file”:

CleanShot 2022-08-31 at 14.37.13@2x.png

If you have a Mac with an Intel chip, your choice is “Windows 11 Insider Preview 10.0.22000.160 (co_release) amd64 | x64”

Screenshot 2022-08-30 at 17.30.16.png

Select the version you need and it will redirect you to the UUP dump page.

Screenshot 2022-08-30 at 04.36.57.png

Press “Next” two times. You do not need to change any configurations here. Then press “Create download package”.

Screenshot 2022-08-30 at 04.38.15.png

You will see a zip file in your downloads now.

Create a new folder on your Desktop. In this guide we will name it “WindowsVM”. IMPORTANT: DO NOT GIVE A SPACE TO NAME, for eg: Windows VM

Screenshot 2022-08-30 at 04.40.54.png

Put your zip file in this new folder and double click it to unarchive. Now we have this folder 22000. We will come back to this later.

Screenshot 2022-08-30 at 04.41.56.png

Screenshot 2022-08-30 at 17.27.56.png

Enter the following commands one by one. Wait until each command is fully executed before entering a new one. Some of them may take time to complete. You can see when the terminal is ready for a new command if it has a “% or $” at the end.

Untitled

after you install homebrew, you may be asked to run these two command, as shown in this picture:

Untitled

First, run cd ~ , then, as instructed in here https://ralphjsmit.com/install-homebrew-macos : Copy the two commands from your terminal (they're a slightly different for each computer), paste them and hit enter. Note that the first command starts with echo... up to .../.zprofile and the second is eval " ... shellenv)"

Then close the terminal then open again.

IF not, then continue to running these command one at a time:

IF YOU FIND ERROR RELATED WITH chntpw. Something like this….

Untitled

Run this command:

Then run this command:

Then wait the process until it finishes installing chntpw

[NEXT STEP] Now we need to open our folder in the terminal. go back to this folder again

Screenshot 2022-08-30 at 04.41.56.png

Then, you should copy the folder path name.

Screenshot 2022-08-30 at 17.14.29.png

[NEXT STEP - Change directory of the terminal] now, go back to Terminal. Type the following command:

Then click space, then paste the pathname. Hence if our pathname is /Users/refocusmaniamantap/Desktop/WindowsVM/22000.160_arm64_en-us_multi_fdb8a3c7_convert-2

Then your full command will be

If your pathname contains any space, for eg:

/Users/refocusmaniamantap/Desktop/Windows VM/22000.160_arm64_en-us_multi_fdb8a3c7_convert-2

Then you must add “” to your pathname, so your full command will be:

then Run the command. You should now be in the directory with the file you need.

Untitled

[NEXT STEP - Extracting the ISO] Enter the following commands:

Untitled

Important! if you have error no such files:

Untitled

It means you have failed to run the previous step successfully. Please go back to step Change directory in terminal, and run step Extracting the ISO again.

Now you have your ISO file!

CleanShot 2022-08-31 at 14.43.03@2x.png

  1. Create the Virtual Machine.

Open UTM.

Click “Create a New Virtual Machine”, select “Virtualize” and choose Windows.

Screenshot 2022-08-30 at 14.23.34.png

Make sure to uncheck “Import VHDX image”.

Screenshot 2022-08-30 at 14.24.23.png

On this page press “Browse…” and navigate to the folder where you have your ISO file (the folder that we had previously unarchived), choose it and press “Open”.

Screenshot 2022-08-30 at 14.28.01.png

Select the amount of memory and CPU Cores for your Virtual Machine. 4096 MB for memory and 4 CPU Cores should be sufficient.

Screenshot 2022-08-30 at 14.29.47.png

Choose your storage size. Ensure that you have enough free disc space on your computer. In this guide we will use 64 GB. If you don’t have much free space you can specify less, but it is not recommended to use less than 32 GB of storage space.

Press “Continue”.

Screenshot 2022-08-30 at 14.30.56.png

Do not change anything on this page and press “Continue”.

Screenshot 2022-08-30 at 14.34.35.png

Screenshot 2022-08-30 at 14.35.30.png

Press “Save”.

You should now have your VM configured. DO NOT CLICK PLAY BUTTON YET.

Screenshot 2022-08-30 at 14.36.08.png

READ THIS BEFORE YOU CLICK PLAY. After you press the big “Play” button, the Virtual Machine will start loading. Once it’s loaded you will see a black screen saying “Press any key to boot from CD or DVD.” The moment this screen pops up quickly press the “esc” button on your keyboard to run the installer.

Screenshot 2022-08-30 at 14.40.30.png

The moment this screen pops up quickly press the “esc” button on your keyboard to run the installer.

If you not, you will see the following screen, it means you did not press the “esc” in time. No worries, just reboot the Virtual Machine with the “shut down” button in the top-left corner.

Screenshot 2022-08-30 at 14.42.54.png

Screenshot 2022-08-30 at 14.41.21.png

You should now see the following screen. Keep the default values and press “Next”.

Screenshot 2022-08-30 at 14.45.20.png

Press “Install” now. In the “Activate Windows” page press “I don’t have a product key” and choose the Professional version on the following screen.

Screenshot 2022-08-30 at 14.46.45.png

If you see the following message, follow these steps.

After you enter regedit.exe, a Registry Editor will open.

Screenshot 2022-08-30 at 15.06.28.png