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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.