In this article, we’ll learn about enriching data with Power BI using the Azure Cognitive Services. We’ll get a brief intro to Azure Cognitive Service and Power BI and dive into a hands-on experience to use a simple CSV file that contains data of News, transform it and with the power of Azure Cognitive Services that is integrated within Power BI now, perform sentiment analysis on the data to find out the Positivity or Negativity of the News. Lastly, we’ll visualize this data in regard to the topic which will showcase the sentiment based on the headline of the news.
Azure Cognitive Services
Azure Cognitive Services is one of the services offered by Microsoft Azure that enables a wide range of organizations to build cognitive intelligence for applications with client library SDKs and REST APIs. Azure Cognitive Services allows developers to integrate cognitive features into applications with no prior knowledge of Machine Learning, Data Science, and Artificial Intelligence skillset. From Computer Vision to Natural Language Processing and Conversational AI, Azure Cognitive Services provides the support for a diverse prospect of applications.
To learn more about Azure Cognitive Services, read this article, Azure Cognitive Services which explains the services provided by Azure dedicated for Machine Learning and Artificial Intelligence in detail.
Power BI
Power BI is a tool provided by Microsoft which is dedicated to enabling business analytics and intelligence capabilities for any organization with interactive visualizations with a minimalistic interface that is extremely convenient to use for the end-users in order to create their own dashboards and reports. Microsoft Power BI is a part of the Microsoft Power Platform ecosystem.
Power BI focuses on creating a data-centric culture for business intelligence that allows organizations to produce powerful outcomes by listening to the data and empowering them with the tools to support decision-making.
Power BI can be accessed and used in primarily two ways. One through the Power BI Desktop application and another through the web application of Power BI. Moreover, Power BI offers three different possibilities, one as the Power BI Pro which uses the power of the cloud in order to share reports and collaborate. For enterprises, it offers the Power BI Premium which provides advanced analytics that can be scaled as per the need. Furthermore, the Power BI Mobile version helps one work on the free Power BI Mobile using Android and iOS devices.
In this article, we’ll merge the power of these two amazing tools – the Microsoft Cognitive Services and Microsoft Power BI and see what we can make out of it.
Step 1
Let us start with logging in to Power BI and installing the Power BI Desktop app.
Currently, there are a few Azure Cognitive Services features integrated into Power BI under the Premium License.

Click on the AI Insights, and we can find the 4 services that are available which are Tag Images, Extract key phrases, Detect Language, and Score Sentiment.
Step 2
Now, let us go to the Power BI Service and Create a Workspace.

Step 3
Fill in the Workspace Name. Here we are using New_demo as the workspace name as the data we are using is from News.

Step 4
Since the cognitive service integration is available only through the premium license, we choose the license mode of Premium per user. Rest would be all default settings.

Step 5
Now the Workspace has been created. It basically contains all of our dashboards, reports, data flows, and more. It works as a container for all the features.

Step 6
We now need to create a data flow. Data Flow in Power BI can be understood as the collection of tables and can be used to manage the tables and to transform our data.

Step 7
Now, Click on Add New Tables.

Step 8
We can see numerous data sources from which data can be made available. We currently will use a text/CSV.

Step 9
Now, we can just copy and paste the URL of the CSV file or browse it from the OneDrive.

Step 10
Now, the data is loaded and ready to be transformed.

Now, click on Transform Data.


















Sagar LadPosted Oct 8, 2021, 2:48 PM
Nice Article