Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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