{"id":5355,"date":"2017-03-10T12:00:18","date_gmt":"2017-03-10T17:00:18","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/azuregov\/?p=5355"},"modified":"2017-03-10T12:00:18","modified_gmt":"2017-03-10T17:00:18","slug":"building-a-solution-on-azure-government-part-iii-power-bi","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/azuregov\/building-a-solution-on-azure-government-part-iii-power-bi\/","title":{"rendered":"Building a solution on Azure Government Part III: Power BI"},"content":{"rendered":"<p><a href=\"https:\/\/blogs.msdn.microsoft.com\/azuregov\/2017\/03\/09\/building-a-solution-on-azure-government-part-ii-hdinsight\/\">Now that we\u2019ve done our text analysis using HDInsight<\/a>, let\u2019s add some high-quality visualizations using Power BI for Azure Government. Let\u2019s first log into <a href=\"https:\/\/app.powerbigov.us\/\">Power BI for Azure Gov<\/a>. Here we are presented with our initial options. Let\u2019s connect to a database by clicking the \u201cGet\u201d button in the \u201cDatabase\u201d tile:<\/p>\n<p><a href=\"https:\/\/blogs.msdn.microsoft.com\/azuregov\/?attachment_id=5415\"><img decoding=\"async\" width=\"1153\" height=\"778\" class=\"aligncenter size-full wp-image-5415\" alt=\"1\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/130.png\" \/><\/a><\/p>\n<p>In the next screen, we can see that we have an option for Spark on Azure HDInsight:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azuregov\/\"><img decoding=\"async\" width=\"1240\" height=\"389\" class=\"aligncenter size-full wp-image-5406\" alt=\"2\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/215.png\" \/><\/a><\/p>\n<p>Once we select Spark, we need to specify the server we want to connect to (we can get this value directly from the URL for the HDInsight cluster in the Azure Government portal):<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azuregov\/\"><img decoding=\"async\" width=\"607\" height=\"545\" class=\"aligncenter size-full wp-image-5405\" alt=\"3\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/313.png\" \/><\/a><\/p>\n<p>We use the credentials we setup during provisioning to connect. Once we\u2019re connected, we\u2019ll see a new Spark tile in our Dashboard. We can click on this to configure and provide visualizations:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azuregov\/\"><img decoding=\"async\" width=\"509\" height=\"390\" class=\"aligncenter size-full wp-image-5395\" alt=\"4\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/48.png\" \/><\/a><\/p>\n<p>We\u2019ll see an empty design surface, as well as the \u201cTopResults\u201d table that we created when we were in the Jupyter notebook in HDInsight:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azuregov\/\"><img decoding=\"async\" width=\"1245\" height=\"579\" class=\"aligncenter size-full wp-image-5385\" alt=\"5\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/58.png\" \/><\/a><\/p>\n<p>There are a number of visualizations in Power BI that we might use to display our data. Let\u2019s bring in a custom visualization \u2013 the <a href=\"https:\/\/app.powerbi.com\/visuals\/show\/WordCloud1447959067750?WT.mc_id=Blog_Visuals\">Word Cloud Power BI Visualization<\/a>. We\u2019ll follow the standard steps to import a custom visual and click to add it to the design surface. We\u2019ll also select the \u201ccount\u201d and \u201cword\u201d columns in our \u201cTopResults\u201d data source. This will give us our preliminary visualization:<\/p>\n<p><strong><u><a href=\"https:\/\/devblogs.microsoft.com\/azuregov\/\"><img decoding=\"async\" width=\"1239\" height=\"704\" class=\"aligncenter size-full wp-image-5375\" alt=\"6\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/67.png\" \/><\/a><\/u><\/strong><\/p>\n<p>Our visualization looks good. However, the words that are showing up most frequently are \u201cfiller\u201d words such as \u201cthe\u201d, \u201cto\u201d, \u201cand\u201d, etc. Let\u2019s filter these out by turning on the default \u201cStop Words\u201d in Power BI:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azuregov\/\"><img decoding=\"async\" width=\"1246\" height=\"685\" class=\"aligncenter size-full wp-image-5365\" alt=\"7\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/43\/2019\/03\/76.png\" \/><\/a><\/p>\n<p>Now our visualization is yielding interesting results! We can clearly see that the word \u201cenemy\u201d shows up more than any other word in the book!<\/p>\n<h2>Summary<\/h2>\n<p>This walkthrough is just one example of the power that Azure Government can unleash for your organization. The services in Azure Government, while powerful individually, can be seamlessly combined to create even more compelling solutions!<\/p>\n<p>We welcome your comments and suggestions to help us continually\u00a0improve your Azure Government experience. To stay up to date on all things Azure Government, be sure to subscribe to our <a href=\"https:\/\/blogs.msdn.microsoft.com\/azuregov\/feed\/\">RSS feed<\/a> and to receive emails, click \u201cSubscribe by Email!\u201d on the <a href=\"https:\/\/blogs.msdn.microsoft.com\/azuregov\/\">Azure Government Blog<\/a>. To experience the power of Azure Government for your organization, sign up for an <a href=\"https:\/\/azuregov.microsoft.com\/trial\/azuregovtrial\">Azure Government Trial<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that we\u2019ve done our text analysis using HDInsight, let\u2019s add some high-quality visualizations using Power BI for Azure Government. Let\u2019s first log into Power BI for Azure Gov. Here we are presented with our initial options. Let\u2019s connect to a database by clicking the \u201cGet\u201d button in the \u201cDatabase\u201d tile: In the next screen, [&hellip;]<\/p>\n","protected":false},"author":1789,"featured_media":4625,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[25],"tags":[95,188,327,457],"class_list":["post-5355","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-portalpreview","tag-azure-government","tag-cognitive-services","tag-hdinnsight","tag-power-bi"],"acf":[],"blog_post_summary":"<p>Now that we\u2019ve done our text analysis using HDInsight, let\u2019s add some high-quality visualizations using Power BI for Azure Government. Let\u2019s first log into Power BI for Azure Gov. Here we are presented with our initial options. Let\u2019s connect to a database by clicking the \u201cGet\u201d button in the \u201cDatabase\u201d tile: In the next screen, [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/posts\/5355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/users\/1789"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/comments?post=5355"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/posts\/5355\/revisions"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/media?parent=5355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/categories?post=5355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azuregov\/wp-json\/wp\/v2\/tags?post=5355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}