0% found this document useful (0 votes)
32 views6 pages

Projecting Live Data Through Maps Using Web As Source

This document describes how to project live data from web pages onto maps in Power BI without using geographic codes. It involves extracting structured data from URLs containing country and state-level COVID-19 case statistics, linking the tables together using a common "country" field, and then plotting the data on separate maps visualizations to showcase live updates on a country and state level. With this approach, Power BI can dynamically pull and display geographic data from web sources.

Uploaded by

kisuchinna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views6 pages

Projecting Live Data Through Maps Using Web As Source

This document describes how to project live data from web pages onto maps in Power BI without using geographic codes. It involves extracting structured data from URLs containing country and state-level COVID-19 case statistics, linking the tables together using a common "country" field, and then plotting the data on separate maps visualizations to showcase live updates on a country and state level. With this approach, Power BI can dynamically pull and display geographic data from web sources.

Uploaded by

kisuchinna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Projecting live data through maps using web as source

Getting data from a web page lets users easily extract data from web pages and
import that data into Power BI Desktop. Often however, data on Web pages aren't in
tidy tables that are easy to extract. Getting data from such pages can be challenging,
even if the data is structured and consistent.

There's a solution. With the Get Data from Web by example feature, you can
essentially show Power BI Desktop which data you want to extract by providing one
or more examples within the connector dialog. Power BI Desktop gathers other data
on the page that match your examples. With this solution you can extract all sorts of
data from Web pages, including data found in tables and other non-table data.

Projecting web page data in maps without geocodes is also challenging so power BI
came with solution as we can projecting data directly based on country, state names
so user can see live maps from webpage.

As part of POC, taken open source web information data and now a days COVID 19 is
impacting all over the world so am using same the stats information to show case
this business scenario.

Am using below links to get the base data for this business scenario.

Total world COVID 19 impacted country wise data:

https://www.worldometers.info/coronavirus/#countries

For India state wise COVID 19 state wise data:

https://economictimes.indiatimes.com/news/politics-and-nation/coronavirus-india-must-do-
more-genomic-sequencing-to-enable-faster-decision-making/articleshow/74799884.cms

Steps involved to project web data to maps without geo codes.

1. Go to get data and choose “web” as source so this will allows to mention link
to extract data ( Note : in the link table type data to be available )
2. Once link is loaded then power BI tool automatically recognises tables in the
specified link and we required to choose the specific table as mentioned the
below mentioned screen print.

3. Same steps ( step 1 and 2) to be followed to get state wise data within India.

4. Once we extracted both world and India COVID 19 data from respective
websites then we need to link up both the tables but in our case there is no
common key available so added additional column “country” and enter
“India” as constant and below are the sub steps to achieve .
 Go to edit query -> choose the India specific data table -> go to “
Add Column” tab -> choose column from examples -> enter “
India” .

5. Link both the tables with country and specify the cardinality.

6. Go report and choose maps in the visualization


7. Drag country in location and legends (to get different colours for different
countries ) and do the same for India by choosing one more map and do the
same activity ( I just want to show case in different maps ) so with the help of
tool tip option you check the data .

8. With simple refresh we can get the live data from respective website
(intentionally refreshed after one day just to show case )

You might also like