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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.