Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression not working in v9 sr7 and beyond

Hello,

Has anyone encountered this?

The following expression works in v9 sr6 not in v9 sr7 through v10.

Thanks

If (MAX(Year) = Year(Today()),

(sum({$<FlagCurYTD = {1}>}  [Sales Amount])

-

sum({$<FlagLastYTD = {1}>}  [Sales Amount]))

/

sum({$<FlagLastYTD = {1}>}  [Sales Amount]),

(sum({$<Year = {$(=max(Year))}, Period {}>}  [Sales Amount])

-

sum({$<Year = {$(=max(Year)-1)}, Period {}>}  [Sales Amount]))

/

sum({$<Year = {$(=max(Year)-1)}, Period {}>}  [Sales Amount]))

1 Solution

Accepted Solutions
danielrozental
Master II
Master II

What's this "Period {}"? shouldn't it be "Period="?

You should try figuring out what part of the formula isn't working.

View solution in original post

1 Reply
danielrozental
Master II
Master II

What's this "Period {}"? shouldn't it be "Period="?

You should try figuring out what part of the formula isn't working.