Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
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]))