Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
pascos88
Creator II
Creator II

error in sintax qs

Hi Guys what is wrong with this?

= MaxString({<CampaignYear_Fact = {$(CampaignYear_Fact)-1}>} ValueReviewed)

I would have the ValueReviewed value of the last year. So CampaignYear_Fact -1.


Thanks a lot

10 Replies
avinashelite

Did you tried this

=Aggr(MaxString({<CampaignYear_Fact  = {"$(=Max(CampaignYear_Fact)-1)"}>}ValueReviewed),dimesion)


if it still does not work then please share the sample app