BAQ Challenge - How to convert this SQL with sub-selects (as Calc'd fields and where clauses) to a BAQ

This super close to your query.

Yes it is slow
Yes there are better ways to do this
But it works. lol

Differences:
TranDate to be the last three months from today vs the date field you have.
Company Filter on the main, which you can add quickly.

testgroup.baq (43.7 KB)

2 Likes