Book Image

Artificial Intelligence with Power BI

By : Mary-Jo Diepeveen
Book Image

Artificial Intelligence with Power BI

By: Mary-Jo Diepeveen

Overview of this book

The artificial intelligence (AI) capabilities in Power BI enable organizations to quickly and easily gain more intelligent insights from unstructured and structured data. This book will teach you how to make use of the many AI features available today in Power BI to quickly and easily enrich your data and gain better insights into patterns that can be found in your data. You’ll begin by understanding the benefits of AI and how it can be used in Power BI. Next, you’ll focus on exploring and preparing your data for building AI projects and then progress to using prominent AI features already available in Power BI, such as forecasting, anomaly detection, and Q&A. Later chapters will show you how to apply text analytics and computer vision within Power BI reports. This will help you create your own Q&A functionality in Power BI, which allows you to ask FAQs from another knowledge base and then integrate it with PowerApps. Toward the concluding chapters, you’ll be able to create and deploy AutoML models trained in Azure ML and consume them in Power Query Editor. After your models have been trained, you’ll work through principles such as privacy, fairness, and transparency to use AI responsibly. By the end of this book, you’ll have learned when and how to enrich your data with AI using the out-of-the-box AI capabilities in Power BI.
Table of Contents (18 chapters)
Part 1: AI Fundamentals
Part 2: Out-of-the-Box AI Features
Part 3: Create Your Own Models

Integrating the model with Power BI

So far, we have been working with Azure ML and AutoML to train a model quickly and easily. Now, it's time to integrate it with Power BI. Proceed as follows:

  1. Open a Power BI report.
  2. Add the tourism-test-2019.csv file to the report. You can download the data from GitHub at
  3. Open the Power Query Editor.
  4. Change the data type of the StartMonth column to Date/Time.
  5. From AI Insights, select Azure Machine Learning.
  6. A popup will appear, as shown in the following screenshot. Select the endpoint you created in the previous section:

Figure 11.11 – Choosing a model

  1. Make sure that each of the columns corresponds to the right input field. The Total tourists column is not used to create predictions but is left in the table for us to compare to the predictions.
  2. A notification...