Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello i am struggling with an expression.I have two variables below.
vWeekStartCY = date(date(WeekEnd(MakeWeekDate(year(today()),num(right([Year Week],2),00)-1)))+1)
vWeekEndCY = date(WeekEnd(MakeWeekDate(year(today()),right([Year Week],2))))
Final Statement
=count({<cus_StartDatum = {">=$(vWeekStartCY)<= $(vWeekEndCY"},
bu3_Market=>} distinct TP_ID)
However the result is 0.
this should not be the case , a helpy hint with my set analysis is much appreicated.
Best
/Brad
Try
=count({<cus_StartDatum = {">=$(=vWeekStartCY)<= $(=vWeekEndCY"},
bu3_Market=>} distinct TP_ID)
still not working but thank you for replying
Create two text boxes and use below expressions and let us know the result you are getting...
1)
=$(vWeekStartCY)
2)
=$(vWeekEndCY)
Also provide format of cus_StartDatum
Check how the values are coming in variables, are they of similar formats to the dates in field cus_StartDatum ?
hi
what you want to get in the two variables .
vWeekStartCY
vWeekEndCY
try to display those values in textboxes then try in set analysis
Regards
$@M.
Yes they are in the correct format all of them.
YYYY-MM-DD