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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
arusanah
Creator II
Creator II

set analysis error

I'm trying to use this expression to find previous year sale .

=Sum({$<TimeLine.Year={$(=(TimeLine.Year)-1)}>}(Fact.CustomerSales*[CurrencyConversion.USD - Budgeted Rate CFY]))

when i execute this expression it displays zero . where as i do have sales for that year . i'm defn missing something in this expression ... but im not able to figure out .

pls help

1 Reply
maxgro
MVP
MVP


=Sum({$<TimeLine.Year={$(=max(TimeLine.Year)-1)}>}(Fact.CustomerSales*[CurrencyConversion.USD - Budgeted Rate CFY]))