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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jvermette09
New Member

oData $filter when datatype is 'Any'

Hello,

 

I am using power query editor to grab some data from an oData feed and I can't get the $filter functionality to work whenever the data type of a field is 'Any'.  It works fine if text/number/date.  Is there a way around this other than filtering after it lands in PQ?

2 REPLIES 2
v-angzheng-msft
Community Support
Community Support

Hi, @jvermette09 

Power query requires a data type to execute the M query code and make query folding work.

If user filter Documents in the Power BI query editor (using the standard checkbox filter) on any property other than Description (which is annotated as non-filterable), the filter is passed through.

vangzhengmsft_0-1646898835177.png

 

Refer:

OData filter pass-through

Filtering in Power Query Editor not working for OData source

Troubleshooting Data Refresh Performance Issues With OData Data Sources In Power BI And Excel Using ...

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you for your response.  So what you are saying is you have to filter the data after it loads to PQ, and I cannot get the performance improvement of applying the fitler in the oData url?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors