I have a transaction table like this: I need to sum amount and count transactions by year and month. I tried this: It works like charm. However, I will use this data on PowerBI thus I cannot show these results in a “line graphic” due to the year and month info being in separate columns. I tried changing format on