This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Each year, Gartner invites vendors from Magic Quadrant for Analytics and Business Intelligence platforms to present at the Gartner Data & Analytics Summit and show how their product can help solve real-world problems and find insights in real-world data. In previous years we’ve looked into the opioid crisis in the USA, global happiness, and life expectancy. This year the impact of COVID-19 was the obvious candidate! There is a wealth of data available on the internet, and while Gartner gave us some direction for the business questions we would investigate, we could use data from any number of sources to do the analysis.
This video shows the final demos we produced for the bakeoff. There are 5 three- or four-minute demos covering various aspects of Power BI. It starts on Section 2 because Section 1 was introductions – and you already know what Power BI is!
In the below video and blog post Will Thompson shows and explains what we've done for this bake-off!
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
Power BI will handle the rest, you can just click load to pull in the table:
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
Learn more about the web connector here.
Depending on the file you’re loading you might want to adjust the ‘Encoding’ value if accented characters are not shown properly e.g.:
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
You can do this by selecting the settings icon at the right of the Source step in your query and selecting from the dropdown: Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO (or by editing the M script in the editor). Learn more about CSV encoding here
One of the main advantages of connecting directly to a CSV file hosted on GitHub or other web locations is that it can be refreshed automatically. Once you’ve built your report, clicking Refresh in the Power BI Desktop ribbon retrieves any new data that’s been included in the CSV file. If you publish your PBIX file to the Power BI service, you can even configure scheduled refresh to retrieve the data automatically.
I made one choice in loading the data to smooth out some spikes in the number of reported cases which might skew the results. Some states reported significantly higher numbers of cases on certain days – for example New Jersey reported 2158 cases on 25th June vs less than 400 on the other days that week. I took an average number and simply replaced those values, which might not be the most statistically correct way to approach cleaning this data, but it was a quick and easy way to avoid outliers changing the high-level analysis we were doing.
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
I made a couple of calculated tables to restructure the data about government mandates and restrictions. I wanted to group countries by the number of days where restrictions such as mask-wearing requirements, travel restrictions, etc. were in place. The DAX calculation summarized each column, and a feature of the DAX editor was helpful – you can ALT-click in the editor window to add multiple cursors. If your DAX expressions have repeating lines like this it can save some manual repetitive edits! There are other keyboard shortcuts that are worth checking out to save you time while writing DAX expressions.
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
Plotting out the cases and vaccinations per million at a country level gave a good starting point, but you can see from this that my initial visuals weren’t exactly engaging:
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
I called on Chris Hamill of the Power BI Customer Advisory Team to help make the report look more alluring – after all that’s the name of his blog. It was also his idea to use the great ImageGrid visual for the flags on the later pages of the report; kudos to Fredrik Hedenstrom for producing that visual!
Chris also set up the bookmarks for navigation between the pages in the report. If I was to reproduce the report I’d take advantage of the upcoming page navigator visual that we demoed at MBAS, it would have simplified setting up and maintaining those bookmarks!
On the subject of bookmarks, the ‘tabs’ on the US Vaccinations page combine to sets of bookmarks – the All States / Warmer / Cooler States update the filters applied to the other visuals, while the Comparison swaps the visible chart visual from the small multiple with many states to the aggregated version showing just two. This shows how flexible bookmarks can be to combine different types of visuals to tell your story.
For the small multiple visuals, I experimented with different ways to sort the individual bar charts for each state. One thing I wanted to do was sort them so the states with the highest number of cases overall appeared at the top of the list. I used the Sort By option to tell Power BI to sort the states by a different field – but allow for other visuals to continue sorting states alphabetically I made a second field “States (by cases)” and set the Sort By order just on that. I also made a custom column that sorted a few states of interest to the top of the list – you can see it in the model, called “State sorting” – with a simple DAX formula:
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
When building the animated bubble chart, I needed to show the data over time. I tried putting the date field into the Play Axis bucket, but with hundreds of days to play, it took a long time to run the animation. Grouping at the week level made more sense - I used the WEEKDAY() DAX function to create a calculated column that held the date for the start of the week:
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
And added that to the Play Axis. By default, the date formatting included the redundant Year part, so I set a custom format string to just show the day and month. I didn’t want to just create a string column as the sorting would then need to be edited as well.
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
In the second demo section, you’ll see me quickly add two visuals using Q&A. To make sure that I got meaningful visuals straight away, I hid most of the fields from the model. There were lots of columns that talked about ‘cases’ (e.g. confirmed cases, verified cases, cases per million, per state/per country) and hiding fields is a quick way to tailor the visuals Q&A provides in response to a given question. You can also use the Q&A Setup dialog to explicitly manage the synonyms for any given field and whether or not it is included in the Q&A schema.
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
Select the Power BI app
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
And then find the report you want to pin into the channel.
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
You can learn more about Power BI Goals in our announcement blog post
In the ‘differentiator’ section I showed how we’re bringing Power BI reports to the physical world with our ‘Data in Place’ feature in Power BI Mobile. This uses the power of Azure Spatial Anchors to tag reports into a physical location, using your phone’s AR capabilities to position reports in the context of your where your business processes are happening – in this case as we’re checking in patients the vaccination center in downtown Seattle.
Gartner_Modern_Analytics_and_BI_Platforms_Bake-off_2021_Analysis_of_impact_of_CO
This capability is coming soon, and you can see more about it and how we’re bringing BI and AR together with Hololens in our MBAS session
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.