web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Filter rows on Virutal...
Power Automate
Unanswered

Filter rows on Virutal tables

(0) ShareShare
ReportReport
Posted on by 51

Hi All

 

I have a problem concerning filtering rows using 'List Rows' connector in Dataverse on a Virtual Table.

The Virtual table runs on top of a SQL on premise database.

 

When I just list all of the rows there is no issue and it returns everything,

however when I try to filter based on dates I am constantly thrown with errors like; 

NativeN_0-1681801519285.png

 

I first wanted to use the 'When a row is added' as a Dataverse trigger but that seems impossible using Virtual tables.

I can filter on other fields then DateFields, but the dates filter just doesn't seem to work.

 

I have the following outputs from my 'List Rows' Dataverse table working with the poc_created column (virtual table based on SQL on prem)

 

"poc_created@OData.Community.Display.V1.FormattedValue":"6/22/2016 10:00 AM",
"poc_created@odata.type":"#DateTimeOffset",
"poc_created":"2016-06-22T10:00:02.423Z"

 

Can anybody please tell me how to fetch the rows of 1 day ago;

I tried a lot of thinks like;

 

poc_created ge 'addDays(utcNow(),-1)'

 

but nothing seems to work.. 

 

I can filter on other columns, it's just the date column that's being a real pain..

 

Thanks & kind regards

 

 

 

 

Categories:
  • NativeN Profile Picture
    51 on at

    I got my 'Get Rows' on my original SQL database to work;

     

    here I had to specify the following Filter Query;

    date(Created) ge date(formatDateTime(addDays(utcNow(),-7),'yyyy-MM-ddT00:00:00Z'))

     

    Since we really need to specfify the date values here, could it be that the same is needed to be done for Dataverse virtual tables?

    Tried the same but didn't work.

    Can't seem to find anything in the documentation that references this..

  • Nao_ Profile Picture
    121 on at

    Hello everyone,

    Any update about how to filter on a date column in a virtual table ?
    I'm facing the same issue,
    Thank you 🙂

  • NativeN Profile Picture
    51 on at

    Hi @Nao_ 

     

    I basically solved my issue by applying the filter on my SQL action in Power Automate. And I used that connector in flow.

     

    Unable to use default Dataverse triggers & stuff like that in Power Automate looks like a big flaw at the moment in the virtual table scenario's

  • prashtest Profile Picture
    12 on at

    Hello everyone,

    Any update about how to filter on a date column in a virtual table ?
    I'm facing the same issue, I want to get the latest records

    Thank you

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard