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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
iDataDrew
Advocate IV
Advocate IV

$filter and $select in Web.Contents() Query

I'm trying to write a dynamic query that looks at a date parameter (DateParam).  The following works but the Service does not allow scheduled refresh because it's a dynamic query:

 

Working QueryWorking Query

 

I'm trying to turn this into a Web.Contents query using the RelativePath so that scheduled refresh will work.  The below is what I did:

 

webcontents_query.png

However, I keep getting the following error: "Expression.Error: We cannot convert a value of type Binary to type Table."

3 REPLIES 3
lbendlin
Super User
Super User

Your Web.Contents call likely returns JSON. You need to parse that into a table structure  before you can use it further.

@lbendlin How would I do that?

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.

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.