Forum Discussion

Dayna's avatar
Dayna
Icon for Helper V rankHelper V
4 years ago
Solved

If statement if date is less than today

Hello,   I have an if statement, where I want to show Sales Value when the weekyearnr is less than the current week. Otherwise, use the Forecast Value.   In my QlikView past I'd do: IF('Calendar...
  • ribisht17's avatar
    4 years ago

    Try this ...yes you aggregate function..TRY THIS

     

    IF(max('Calendar'[YearWeekNr]) < [Today (Week)][Sales Value][Forecast Value]) + 0