Hi,
I want to create a calculated field that gives me 1 if the month and year is the current one. the objective is to apply conditional formatting to some metrics to highlight them for the current month.
I tried the following first calculated field called MonthYearField:
extract("MM", {date}) + '-' + extract("YYYY", {date})
but I cannot combine Number and String…
The second step would be: ifelse(MonthYearField = date_format(now(), 'MM-YYYY'), 1, 0)
Any suggestions?
Thanks!