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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
mmatusche
Regular Visitor

Facebook: Query Syntax

Hello Everyone,

 

for a University Project i have to analyse some Social Media data. I know that Power BI is maybe not the best option for that but its the only programm im (slightly) familiar with.

 

What i need is all the comments plus the like count from one specific post. (A big post with 3.2 million comments) As directly targetting the post does not work for me(It only returns the comments not how many times they were liked) i give the id from the site to Power BI. What i want to do next is limit the resusults because the query would take to long otherwise.

 

Now my query looks like this:

let
    Quelle = Facebook.Graph("https://graph.facebook.com/v2.2/raetseldestages/posts?since=2016-01-01&limit=10"),

etc.

What i need is the syntax for the other side of "timeframe" i have tried "&until=2016-01-02" But that does not seem to work. Is there any advice for me? Or maybe a site where i can look up some of those commands?

 

Greetings from Frankfurt

1 REPLY 1
Anonymous
Not applicable

Hi @mmatusche,


You can modify the limit to 100, it will improve the performance.("limit" means how many records facebook api return each time)

 

About the api filter, you can refer to following article:

Using the Graph API

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.