Forum Discussion
PowerBI123456
5 years agoPost Partisan
Getting closest date
Hi, I have 2 tables below. I want to bring over the closest checked processed date after the check deposit date for each account. This is what the end results should look like: ...
- 5 years ago
Sorry, try this
=calculate(min('Table2'[Check Processed]),filter('Table2','Table2'[Account]=earlier('Table1'[Account])&&'Table2'[Check Processed]>earlier('Table1'[Check deposited])))
PowerBI123456
5 years agoPost Partisan
Ashish_Mathur Thank you! But its not working for me, after the first earlier, its only letting me select from table 1.
Ashish_Mathur
5 years agoSuper User
Sorry, try this
=calculate(min('Table2'[Check Processed]),filter('Table2','Table2'[Account]=earlier('Table1'[Account])&&'Table2'[Check Processed]>earlier('Table1'[Check deposited])))