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 Platform Community / Forums / Power Automate / List D365 records with...
Power Automate
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

 

Categories:
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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard