cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nicolasd1
New Member

Excel List of row Odata filter

Hello,

 

I'm trying to use odata filter with "list of rows present in a table" Excel objects.

I tried a lot of possible formulation... none is working.

 

To give more detail, I have an excel file with DATE column name which could be null, I just want to get non null excel file lines.

I'll tried :

  • DATE ne null
    error: Invalid filter clause: unsupported operation. Only single 'eq', 'ne', 'contains', 'startswith' or 'endswith' is currently supported.
  • DATE ne ''
    error: Invalid filter clause: unsupported operation. Only single 'eq', 'ne', 'contains', 'startswith' or 'endswith' is currently supported.
  • length('DATE') gt 0
    result: 4 gt 0
    error: Invalid filter clause: unsupported operation. Only single 'eq', 'ne', 'contains', 'startswith' or 'endswith' is currently supported.
  • length('DATE') gt '0'
    result 4 eq '0'
    error: A binary operator with incompatible types was detected. Found operand types 'Edm.Int32' and 'Edm.String' for operator kind 'Equal'.
  • string(length('DATE')) gt '0'
    error: Invalid filter clause: unsupported operation. Only single 'eq', 'ne', 'contains', 'startswith' or 'endswith' is currently supported.
  • 'True' eq 'if(greater(length('DATE'), 0), false, true)'
    result: 'True' eq 'False'
    error: Invalid filter clause: unsupported operation. Only single 'eq', 'ne', 'contains', 'startswith' or 'endswith' is currently supported.
 
Do you have some clue for me ?
 
Adding an external Filter Array, is not a good solution for a question of performance like https://powerusers.microsoft.com/t5/Connecting-To-Data/Flow-get-list-of-rows-form-excel-with-ODATA-f...
 
 
thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @nicolasd1 ,

 

Unfortunately, we could not use Filter Query to filter records with the column which may be null currently.

You are using the best option to filter these records, we could only use Filter array to do this operation as follows, leave the right parameter blank:

140.PNG

 

Besides, you could check this blog to get more usage about Filter Query, although some of the syntaxes here is not suitable for filtering records in Excel table, the rules are similar.

https://sharepains.com/2018/11/12/sharepoint-get-items-odata-filter-query/

 

Best Regards,

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

View solution in original post

1 REPLY 1
v-bacao-msft
Community Support
Community Support

 

Hi @nicolasd1 ,

 

Unfortunately, we could not use Filter Query to filter records with the column which may be null currently.

You are using the best option to filter these records, we could only use Filter array to do this operation as follows, leave the right parameter blank:

140.PNG

 

Besides, you could check this blog to get more usage about Filter Query, although some of the syntaxes here is not suitable for filtering records in Excel table, the rules are similar.

https://sharepains.com/2018/11/12/sharepoint-get-items-odata-filter-query/

 

Best Regards,

Community Support Team _ Barry
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 Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,521)