Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
tmumaw
Specialist II
Specialist II

Set Analysis ?

I am trying to calculate a percentage based on the year the user selected to current.  I know I am missing something just not sure what.

Thanks

The first line is my current year and the other 2 are suppose to be based on the FISYR the user selects.

(sum({<FISYR = {$(=$(vFisYr) - 0)},[Expense] = {'E'},YTDFlag = {1}>}[In company code currency_HSL]  * 1) -
sum({$<FISYR,[Expense] = {'E'},YTDFlag = {1}>}[In company code currency_HSL]  * 1)) /
sum({$<FISYR,[Expense] = {'E'},YTDFlag = {1}>}[In company code currency_HSL]
  * 1)

1 Solution

Accepted Solutions
tmumaw
Specialist II
Specialist II
Author

Got it....had to remove FISYR

View solution in original post

1 Reply
tmumaw
Specialist II
Specialist II
Author

Got it....had to remove FISYR