Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Youtube data api v3 (how to fetch videos with by using snippet + statistics)


I have fetched video  "Xlookup" by using youtube data api v3 from Google Platform in power query through "", where I have used snippet then it has shown videos however I wanted to get to fetch statistics as well, but when I try to use this snippet, statistics then it shows error.


However statistics data is coming for Xlookup videos in different query. but it is not coming in same in search URL.

How can I get video as search commond for statistics data as well ?


Below is the m language code for which I am using. 








Community Support
Community Support

Hi @Aamir2021 ,

Based on these two queries, what is your expected output seems not certain.

'when I try to use this snippet, statistics then it shows error.', what's error you have faced, I created the same queries like yours to get the same table but seems that not seen any error message in the queries.


In addition, what did the 'but it is not coming in same in search URL.' direct, perhaps can share more details about this issue.


Sample data and expected output would help tremendously.
Please see this post regarding How to Get Your Question Answered Quickly:


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

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Kudoed Authors