PowerBI has been around for a long time by now, so there are tons of information out there on how to connect your data sources to the powerful PowerBI Portal (www.powerbi.com). Now, getting all the moving parts to connect properly might have been difficult at times, but I'm making this post to just reassure you it is currently very easy to set up.
Before I begin, I just want to add a precaution: Consider the implications around security and performance when setting this up.
I prefer to...
Continued on Source: Yet Another Dynamics AX Blog: Using the On-Premise Gateway to connect to your AX2012 data to Power BI Portal