Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Dynamic Expression Label

Hi,

     In my expression label I am trying to create a field name that reflects the specific week number indicated in the expression. My expression is as follows:

SUM({$<Year={$(=Max(Year))},

  Period=,

  Week=,

  [Year Period]=,

  [Year Week]=,

  Date={">=$(=date(date(vCurrentWeekStart)-91))<=$(=date(date(vCurrentWeekStart)-85))"},

  SKU=P(SKU)>} [POS Net Units])

How do I make an expression label that reflects which week the dates specify? I have tried

=Week(  Date={">=$(=date(date(vCurrentWeekStart)-91))<=$(=date(date(vCurrentWeekStart)-85))"}) but I haven't had any luck.

Any help would be great!

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Trying to understand the logic...  Look like this will be the label:

week(vCurrentWeekStart-91)

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Trying to understand the logic...  Look like this will be the label:

week(vCurrentWeekStart-91)

Anonymous
Not applicable
Author

Figured it out! Thanks!