Forum Discussion
Calculating / Compare Data Difference without ID number
The problem in your solution is, that your bank statments works on different granularity than the data of your POS statement.
Your POS statement (24.50+150+26.50) spans over 3 days, the bank statement provides the whole amount in 1 amount on a different day.
Do you have any further details in the bank statement which you may use?
First of all, thank you very much for replying to my msg. I work as bookkepper and bank reconciliation is a hard job and time consuming (I'm trying to automate the process a little bit). Watching videos and reading some blogs about power query, M language, and power bi I've realized that it is possible.
Let me show the details I get from:
BANK STATEMENT (There is no ID or transaction number. Amount and date is the only reference I get)
Account| ChkRef| Debit| Credit |Balance| Date |Description
xxxxxxxxxxx| $890.00 |xxx| 1/5/2017 |AMERICAN EXPRESS SETTLEMENT - merchant # xxxxxxx
xxxxxxxxxxx| $100.00 |xxx| 1/7/2017 |AMERICAN EXPRESS SETTLEMENT - merchant # xxxxxxx
xxxxxxxxxxx| $119.00 |xxx| 1/8/2017 |AMERICAN EXPRESS SETTLEMENT - merchant # xxxxxxx
xxxxxxxxxxx| $64.00 |xxx| 1/12/2017 |AMERICAN EXPRESS SETTLEMENT - merchant # xxxxxxx
xxxxxxxxxxx| $201.00 |xxx| 1/13/2017 |AMERICAN EXPRESS SETTLEMENT - merchant # xxxxxxx
PoS REPORT (Also there is no ID or trnsaction number)
Date |Withdrawal| Deposit |Type |Description
1/2/2017 | | $890.00 |Credit Card : Amex |Daily Report Credit Card Deposit
1/4/2017 | | $100.00 |Credit Card : Amex |Daily Report Credit Card Deposit
1/5/2017 | | $55.00 |Credit Card : Amex |Daily Report Credit Card Deposit
1/6/2017 | | $64.00 |Credit Card : Amex |Daily Report Credit Card Deposit
1/9/2017 | | $64.00 |Credit Card : Amex |Daily Report Credit Card Deposit
1/10/2017 | | $24.50 |Credit Card : Amex |Daily Report Credit Card Deposit
1/11/2017 | | $150.00 |Credit Card : Amex |Daily Report Credit Card Deposit
1/12/2017 | | $26.50 |Credit Card : Amex |Daily Report Credit Card Deposit
with Power Query ... I was able to transform to following:
| ID | DESCRIPTION | PoS DATE | BANK DATE | PoS AMOUNT | BANK AMOUNT | DIFFERENCE | Comment |
| Amex - 890.00 | Amex Deposit | 1/2/2017 | 1/5/2017 | $890.00 | $890.00 | 0 | match |
| Amex - 100.00 | Amex Deposit | 1/4/2017 | 1/7/2017 | $100.00 | $100.00 | 0 | match |
| Amex - 55.00 | Amex Deposit | 1/5/2017 | $55.00 | $55.00 | not match | ||
| Amex - 64.00 | Amex Deposit | 1/6/2017 | $64.00 | $64.00 | not match | ||
| Amex - 64.00 | Amex Deposit | 1/9/2017 | 1/12/2017 | $64.00 | $64.00 | 0 | match |
| Amex - 24.50 | Amex Deposit | 1/10/2017 | $24.50 | $24.50 | not match | ||
| Amex - 150.00 | Amex Deposit | 1/11/2017 | $150.00 | $150.00 | not match | ||
| Amex - 26.50 | Amex Deposit | 1/12/2017 | $26.50 | $26.50 | not match | ||
| Amex -119.00 | Amex Deposit | 1/8/2017 | $- | $119.00 | $(119.00) | not match | |
| Amex - 201.00 | Amex Deposit | 1/13/2017 | $- | $201.00 | $(201.00) | not match |
What is my goal :
To find a way using Dax Formula or M Language where "the difference amount" match
Hope I was able to make a little more clear the problem. Thanks