BalloutMoe
Board Regular
- Joined
- Jun 4, 2021
- Messages
- 137
- Office Version
- 365
- Platform
- Windows
Hello All, I am completely new to access and was trying to do this with Excel Power query and was successful however the data is so large that it is taking forever to run, so I decided to give access a go. Here is the situation, I have 10 locations I manage and each day I receive a csv file for each location that contains the whole data some dating back to 2015 along with that days sales. I have linked to the csv and got the data in however I would like to change the store ID value and Sum the fldAmount based on pay type from the same date. For example if its a credit card payment which is "Visa, Mastercard, Amex" ect, if its Cash or Check keep it as is. I would like to combine them together in one row and Change the value to Credit Card with the sum of amount. Is this possible with a linked table? I do not know how to link it so I always get the newest data every day. Thank you in advance.
This is the result I am hoping for so I end up with three rows for each date with pay types Cash, Check, CreditCard
This is the result I am hoping for so I end up with three rows for each date with pay types Cash, Check, CreditCard
fldID | fldDate | fldPayType | fldAmount |
8 | 3/18/2019 | Cash | $336.53 |
8 | 3/18/2019 | Check | $233.72 |
8 | 3/18/2019 | Credit Card | $2590.77 which is the sum of (Amex,Debit,Discover,MasterCard,Visa) |