Hi,
I'm sure someone else must have already asked this but I can't find an answer.
In my data I have 3 columns: Date, Site, Amount and looks like this:
2021-02-01 -- Site1 -- 5
2021-02-01 -- Site2 -- 2
2021-02-01 -- Site3 -- 4
2021-02-02 -- Site1 -- 3
2021-02-02 -- Site2 -- 4
…and so on
I would like to create a table that with the above data would look like (with today's date being 2021-02-02):
Site -- Amount today -- Amount yesterday -- Amount total
Site1 -- 3 -- 5 -- 8
Site2 -- 4 -- 2 -- 6
Site3 -- 0 -- 4 -- 4
I've found out how to make the Site column (GROUP(Site)) but can't figure out the rest.
It seems like a very simple thing to do and hope it's just me who is "not getting it" :-)
Thanks!