Martin sherk
Board Regular
- Joined
- Sep 11, 2022
- Messages
- 94
- Office Version
- 365
- 2016
I wonder why in the normal Sumifs formula it will ignore the zero at the beg. of an invoice no., while sumifs in power query using aggregate won't ignore it
For Ex.
Sumifs between bank Data and ERP Data will show the below invoice as matching although in the Bank data the invoice doesn't have zero in the beg. (14071) while in ERP data it starts with zero (014071) and sumifs formula matches them with no problems
while the same thing with power query will not recognize the below invoice because it starts with zero in the ERP invoice column (014071) while it doesn't start with zero in the Bank invoice column (14071).
why the Power query doesn't match invoices if there is a zero, like in Bank it's 14071, ERP 014071 while the Normal sumifs formula can recognize and match them with no problems even though one inv. starts with the zero and the other doesn't.
For Ex.
Sumifs between bank Data and ERP Data will show the below invoice as matching although in the Bank data the invoice doesn't have zero in the beg. (14071) while in ERP data it starts with zero (014071) and sumifs formula matches them with no problems
Invoice No. | Entity | Customer | Currency | Amount | ERP (Sumifs) |
14071 | USA1 | Almada | USD | 400 | -400 |
Invoice No. | Entity | Customer | Currency | Amount | Bank (Sumifs) |
014071 | USA1 | Almada | USD | -400 | 400 |
while the same thing with power query will not recognize the below invoice because it starts with zero in the ERP invoice column (014071) while it doesn't start with zero in the Bank invoice column (14071).
Invoice no. Bank | Entity Bank | Customer Bank | Currency Bank | Amount Bank | Sum of ERP.Amount |
14071 | USA1 | Almada | USD | 400 | - |
Invoice no. ERP | Entity ERP | Customer ERP | Currency ERP | Amount ERP | Sum of ERP.Amount |
014071 | USA1 | Almada | USD | -400 | - |
why the Power query doesn't match invoices if there is a zero, like in Bank it's 14071, ERP 014071 while the Normal sumifs formula can recognize and match them with no problems even though one inv. starts with the zero and the other doesn't.