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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

List D365 records with date filtering

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I have an entity (qg_Businesses) which has a number of rollup columns (qg_associatedtable1, qg_associatedtable2, qg_associatedtable3, qg_associatedtable4, qg_associatedtable5, qg_associatedtable6) that show the last modified dates for tables related to qg_business.

 

I'm trying to use these dates to identify the last time the qg_business record had some activity associated with it, via the other related tables.

 

I've used Power Automate to pull the values of these rollup fields together, and then found the maximum value and written that to another date field (qg_dateoflastactivity). The issue I have now is that I'm unable to filter out the qg_business rows which have already been updated already.

 

The logic I'm trying to use is IF qg_dateoflastactivity <= or(qg_associatedtable1, qg_associatedtable2, qg_associatedtable3, qg_associatedtable4, qg_associatedtable5, qg_associatedtable6), THEN return row. I've tried doing this via a fetchxml query (see below), but it still keeps returning all qg_business records instead of just the ones that match my criteria.

 

Is there another way using Power Automate that I could filter out qg_business records that are have a qg_dateoflastactivity value older than the value of any one of multiple rollup fields?

 

CParker_0-1647236805905.png

 

I have the same question (0)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 647 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 350 Moderator

#3
developerAJ Profile Picture

developerAJ 256

Last 30 days Overall leaderboard