Power BI is a cloud-based solution. However, it's possible to securely transfer data between on premise data sources and the Power BI service using Microsoft's on premise data gateway.