Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
I have below data set :-
I want to calculate the sum of nbhours in a KPI that show the value as 96, i.e Sum of all the values present in current month.
Kindly help.
Thanks in advance
Try this
Sum({<INPUT_DATE = {">=$(=Date(MonthStart(Today(1)), 'M/D/YYYY'))<=$(=Date(Floor(MonthEnd(Today(1))), 'M/D/YYYY'))"}>} NB_HOURS)
or this
Sum({<Input_MonthName = {"$(=Date(MonthStart(Today(1)), 'MMM YYYY'))"}>} NB_HOURS)
Try this
Sum({<INPUT_DATE = {">=$(=Date(MonthStart(Today(1)), 'M/D/YYYY'))<=$(=Date(Floor(MonthEnd(Today(1))), 'M/D/YYYY'))"}>} NB_HOURS)
or this
Sum({<Input_MonthName = {"$(=Date(MonthStart(Today(1)), 'MMM YYYY'))"}>} NB_HOURS)