Forum Discussion
PowerBI123456
Post Partisan
5 years agoGetting 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])))
amitchandak
Super User
5 years agoPowerBI123456 , Create a new column in table 1
New Column = minx(filter(table2, Table1[Account] = table2[account] && Table1[check Deposited] <=Table2[Check Processed]),Table2[Check Processed])