First of probably many questions here!
I am trying to create a table calculation that essentially says “Sum Revenue if Date is yesterday”.
I am trying for something along the lines of the below (though I know it does not make sense in Looker):
sum(
if(
${Date} = date(now())-1,
${revenue_sum},
null
)
)
I know I could filter for the date in explore and see what the revenue is, but the goal is to create a table calculation to measure what the day over day difference in revenue is.
Thanks!