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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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)

Labels (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