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
mimig
New Member

Google Trends interest over time graph does not display correctly

When trying to integrate Google Trends with Power BI, I can add a tile to my dashboard, but the tile only displays the top 1/3 of the chart - the rest is just white.

 

I've got a screencap of the problem here: https://1drv.ms/i/s!Aqmkk_6dD5nZi4FjsMkuVmrl8-t6AA.

 

Any ideas?

 

 

 

7 REPLIES 7
Anonymous
Not applicable

@mimig: It would be interesting if you could share with us how you retrveived data from Google Trends ?

From a PowerBI.com dashboard, click Add Tile, Web Content, Next. Then paste in the embedded code from trends.google.com.

 

To get the embedded code, go to trends.google.com, enter your search terms and get the line graph. Then click the arrow in the upper right of the graph, and click Embed. Copy the code from that new window into PowerBI.com.

 

I just retried this though, and I still only get the top 1/3 of the graph to display.

Anonymous
Not applicable

@mimig: Thanks for sharing. Just so you know, this works fine when I tried this. Using Chrome and loggen in on my personal account with google.

v-qiuyu-msft
Community Support
Community Support

Hi @mimig,

 

I notice there is a warning signal in the chart, please click it to see the detail message.

 

q2.PNG

 

I guess there should be large amount of data which can't display in the chart, please try to filter data to display less data see if the chart can display completely.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The warning signal says "This widget contains web content not provided by Microsoft. Web content could contain code with security or privacy risks".

 

The actual code I'm trying to embed is as follows, it's just a generic google trend chart:

 

<script type="text/javascript" src="https://ssl.gstatic.com/trends_nrtr/884_RC03/embed_loader.js"></script>
<script type="text/javascript">
trends.embed.renderExploreWidget("TIMESERIES", {"comparisonItem":[{"keyword":"\"Azure DocumentDB\"","geo":"","time":"today 1-m"}],"category":0,"property":""}, {"exploreQuery":"date=today%201-m&q=%22Azure%20DocumentDB%22"});
</script>

 

I got this by going to https://www.google.com/trends/explore?q=%22Azure%20DocumentDB%22, clicking the ... in the line chart and clicking Embed. I then go to PowerBI, click Add tile->Web content and then paste the code into the Embed Code box.

Someone suggested I try this in different browsers, and it turns out that the Google Trend tile renders fine in Google Chrome. In Edge, only the top portion renders (as shown in my screencap) and in IE none of the tile renders- it's totally empty.

Hi @mimig,

 

I can reproduce the issue on both Edge and IE, and already reported this issue. Will update here once get the feedback.

 

Best Regards,

Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors
Top Kudoed Authors