Hi Team,
Was wondering if its possible to use for all with a filtered collection.
Some reason I cant get it working.
Any help is greatly appreciated.
Thanks
ClearCollect(Estimates,
ForAll(Filter(PTP_Meter,READ > 100 && READ < 200),
{
INDEX: PTP_Meter[@INDEX],
READ_DATE: PTP_Meter[@READ_DATE]}))
hi @christian12 ,
try this
ClearCollect(
Estimates,
ForAll(
Filter(PTP_Meter, READ > 100 && READ < 200),
{
INDEX: INDEX,
READ_DATE: READ_DATE
}
)
)
Kindly mark the solution as accepted if it resolves your issue.
Best Regards
Muhammad Mudassar Mazhar
Hi @christian12
Maybe try chaning the datasource name to ThisRecod:
ClearCollect(
Estimates,
ForAll(
Filter(PTP_Meter,READ > 100 && READ < 200),
{
INDEX: ThisRecord.INDEX,
READ_DATE: ThisRecord.READ_DATE
}
)
)
If you have any questions or feedback, please let me know. Have a great day! 😊
-----------------------
PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]
I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻