Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I hope someone can help me find out what is wrong with this set expression. The result is always zero no matter what i try to do to it.
=Count({$<CalendarMonthYear ={"$(= '<=' Date(MonthStart(Max(CalendarMonthYear),-1)), 'MMM-YYYY')"},Object_A={"<=30"}>} Distinct Jobs)
This should like
=Count({$<CalendarMonthYear ={"<=$(=Date(MonthStart(Max(CalendarMonthYear),-1)), 'MMM-YYYY')"},Object_A={"<=30"}>} Distinct Jobs)
OR
=Count({$<CalendarMonthYear ={"$('<=' & =Date(MonthStart(Max(CalendarMonthYear),-1)), 'MMM-YYYY')"},Object_A={"<=30"}>} Distinct Jobs)
This should like
=Count({$<CalendarMonthYear ={"<=$(=Date(MonthStart(Max(CalendarMonthYear),-1)), 'MMM-YYYY')"},Object_A={"<=30"}>} Distinct Jobs)
OR
=Count({$<CalendarMonthYear ={"$('<=' & =Date(MonthStart(Max(CalendarMonthYear),-1)), 'MMM-YYYY')"},Object_A={"<=30"}>} Distinct Jobs)
For your expression you are missing a $... and you also had a misplaced parenthesis
=Count({$<CalendarMonthYear = {"$(='<=' & Date(MonthStart(Max(CalendarMonthYear),-1), 'MMM-YYYY'))"}, Object_A ={"<=30"}>} DISTINCT Jobs)