4 respostas
You can do it via the Report Filters, but if you don;t wanna have to manually update them every time you run the report, you can simplify it with a couple of custom Formula Fields on the Object like this
CloseDate YTD
Datatype = Formula
Result = CheckboxFormula =
(CloseDate - DATE(YEAR( CloseDate ), 01, 01))
<=
(TODAY() - DATE(YEAR( TODAY()), 01,01))
CloseDate YTM
Datatype = Formula
Result = CheckboxFormula =
MONTH( CloseDate )
<=
MONTH( TODAY() )
CloseDate (Month)
Datatype = Formula
Result = TextFormula =
CASE(MONTH(CloseDate),
1, "01 - January",
2, "02 - February",
3, "03 - March",
4, "04 - April",
5, "05 - May",
6, "06 - June",
7, "07 - July",
8, "08 - August",
9, "09 - September",
10, "10 - October",
11, "11 - November",
12, "12 - December",
NULL)