Hi @bobgodin ,
In simplistic terms if you had only a single value in the field, it would look something like this
Filter(
MeterReadings,
!(Auth in Auths.Auth)
)
but this would not be delegable on two fronts - the Not() ! and in statements. Not only do you have a Data Row Limit issue, but also a multi-value delimited field that needs to be queried in a more complex way. My thoughts firstly if the newest 2,000 records on both list will do the job - you need to "add in the missing fields" at the bottom after the GroupBy as your major issue with the Not filter is you will have duplicates of each of the records that are not in the delimited field (this would be much easier if that was a simple single value text field)
With(
{
_Readings:
Sort(
MeterReadings,
ID,
SortOrder.Descending
),
_Auths:
Sort(
Auths,
ID,
SortOrder.Descending
)
},
AddColumns(
GroupBy(
Ungroup(
ForAll(
_Auths,
Filter(
_Readings As _Read,
!(Auth in _Read.Auth)
)
),
"Value"
),
"ID",
"Data"
),
"Auth",
First(Data).Auth,
"NextField",
First(Data).NextField
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps