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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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."

1 REPLY 1
v-yalanwu-msft
Community Support
Community Support

Hi, @iDataDrew ;

I found an old thread showing a solution,you may have a try:

Solved: Web-api stops my dataset from refresing - Microsoft Power BI Community

Solved: Underlying error message: We cannot convert the va... - Page 3 - Microsoft Power BI Communit...

Solved: Expression.Error: We cannot convert a value of typ... - Microsoft Power BI Community


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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.