I have my connector where I'm able to get the spend value within a given time frame (on the request passed to the getData
it has the startDate
and endDate
parameters and the fields with spend
, all normal). Now I want a card that shows the average spend per day. That would be a field like
spend / DATE_DIFF(endDate, startDate)
But how do I pass those date values to the formula?