Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

COVID-19 Report

HI,

 

I need to create a real time COVID-19 power BI report. 

 

I couldn't find any API that gives me live data.

 

Can anyone help me out with the API or any other data sources?

 

Thank you. 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Mariusz @amitchandak @Greg_Deckler 

 

Finally, I found a workaround to get live COVID data to Power BI Desktop and Service. 

 

The problem with using web URL is that the dataset refresh doesn't work when we publish the report to services. However, refresh works in Power BI desktop. 

 

In order to fix this, I populated the data in google spreadsheet using =IMPORTHTML("https://www.worldometers.info/coronavirus/","Table") and then used spreadsheet as a data source in Power BI.

 

Now, I have no issues with data refresh in the service as well as desktop. 

 

Thank you. 

View solution in original post

8 REPLIES 8
ChrstianoMendes
Regular Visitor

New options -> Google spreadsheet:

=IMPORTHTML("https://www.worldometers.info/coronavirus/";"table";1)

or

=IMPORTHTML("https://www.worldometers.info/coronavirus/","table",1)

 

Works without the need to update

Anonymous
Not applicable

@Mariusz @amitchandak @Greg_Deckler 

 

Finally, I found a workaround to get live COVID data to Power BI Desktop and Service. 

 

The problem with using web URL is that the dataset refresh doesn't work when we publish the report to services. However, refresh works in Power BI desktop. 

 

In order to fix this, I populated the data in google spreadsheet using =IMPORTHTML("https://www.worldometers.info/coronavirus/","Table") and then used spreadsheet as a data source in Power BI.

 

Now, I have no issues with data refresh in the service as well as desktop. 

 

Thank you. 

I tried it and am facing ErrorResource at URL contents exceeded maximum size. 

Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

You can use this website as a data source.

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

 

Please see the attached file with 2 tables connected, data as of now + yesterdays data.

 

Please consider sharing your file if possible.

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

 

Anonymous
Not applicable

@Mariusz  In fact, I had already tried this option. Unfortunately, the refresh doesn't work when we publish the report to service. 

 

The refresh works only in power Bi desktop. 

 

Not sure how to fix this. 

 

Thank you anyway, please let me know if you have any suggestion to fix the refresh dataset issue. 

v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

 

The data source is given in the link @amitchandak  provid:

Capture.PNG

 

Johns Hopkins University’s Center for Systems Science and Engineering 

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User
Greg_Deckler
Super User
Super User

PubNub?

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.