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
saunders
Helper II
Helper II

Filter Odata by measure or dax

Hi all,

 

Does anyone know how to add query options to an Odata feed using Dax?  

 

I want to filter rows in a feed like:

Latest_rows = OData.Feed("<OdataURL>?$filter=<OdataURLDateColumn>+gt+MAX('AnotherTable'[DateColumn])

 

New rows get added daily to the table in the Odata URL.  On a daily basis, I only want to import rows that haven't yet been imported, i.e. rows added later than those imported previously.  I can't work out how to build a dynamic Odata URL that filters  based on max date in the same or different table.

 

Any ideas much appreciated!

 

1 ACCEPTED SOLUTION

Thanks Herbert, I was hoping someone might have a solution.

View solution in original post

3 REPLIES 3
v-haibl-msft
Employee
Employee

@saunders

 

I don’t think it is possible to do it. We can only use DAX to filer after we get all data. Maybe these two ideas are what you desired.

 

Best Regards,

Herbert

@v-haibl-msftWow, that can be devastating if you have millions of records server side.  There is no way to tell the server to filter in just what you need?

Thanks Herbert, I was hoping someone might have a solution.

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.