cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Live news feed - rss or similar

Hi,

 

I need to include a live news feed from an online source (say latest oil industry news) - this could be a simple RSS.

 

How can I connect and display this in Power BI?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Champion
Community Champion

Re: Live news feed - rss or similar

Is this what you mean?  This query connects to an Oil & Gas General Interest feed, using Web.Contents (wrapped in Xml.Tables).

 

let
Source = Xml.Tables(Web.Contents("https://feeds.feedburner.com/OilGasJournal-GeneralInterest")),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Attribute:version", Int64.Type}}),
#"Expanded channel" = Table.ExpandTableColumn(#"Changed Type", "channel", {"title", "link", "description", "http://www.w3.org/2005/Atom", "http://rssnamespace.org/feedburner/ext/1.0", "item"}, {"title", "link", "description", "http://www.w3.org/2005/Atom", "http://rssnamespace.org/feedburner/ext/1.0", "item"}),
#"Expanded item" = Table.ExpandTableColumn(#"Expanded channel", "item", {"title", "link", "description", "pubDate", "guid"}, {"title.1", "link.1", "description.1", "pubDate", "guid"})
in
#"Expanded item"

 

If this works for you, please mark this as the solution.  

Regards,

Pat

 

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Live news feed - rss or similar

Hi @seanstead , 

I am not clear  about your requirement, did you want to connect to web? If so, you could refer to desktop-connect-to-web  and desktop-connect-to-web-by-example  for details. If not, could you please inform me more detailed information(such as your expected output and your sample data (by OneDrive for Business))? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

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

Highlighted
Community Champion
Community Champion

Re: Live news feed - rss or similar

Is this what you mean?  This query connects to an Oil & Gas General Interest feed, using Web.Contents (wrapped in Xml.Tables).

 

let
Source = Xml.Tables(Web.Contents("https://feeds.feedburner.com/OilGasJournal-GeneralInterest")),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Attribute:version", Int64.Type}}),
#"Expanded channel" = Table.ExpandTableColumn(#"Changed Type", "channel", {"title", "link", "description", "http://www.w3.org/2005/Atom", "http://rssnamespace.org/feedburner/ext/1.0", "item"}, {"title", "link", "description", "http://www.w3.org/2005/Atom", "http://rssnamespace.org/feedburner/ext/1.0", "item"}),
#"Expanded item" = Table.ExpandTableColumn(#"Expanded channel", "item", {"title", "link", "description", "pubDate", "guid"}, {"title.1", "link.1", "description.1", "pubDate", "guid"})
in
#"Expanded item"

 

If this works for you, please mark this as the solution.  

Regards,

Pat

 

View solution in original post

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors