Hi, is there any way we can create a metric field where we can get the data for current month till date same for previous month where last day for previous month should be same day number of current month.
Eg.
I have total data from 1st February 2024 to 10th of May 2024. For current month i.e. May I have data from 1st May 2024 to 10th May and total count for current month we calculated from 1st to 10th May. I’m calculating in this way
sumIf({Count}, MONTH={latest_month})
where MONTH is month number extracted from date and latest month is max(month) from latest_date i.e.
maxOver({DATE}, [ ], PRE_AGG)
Same date range i.e. 1st to 10th for all previous months we need how we can get any field logic please share.