Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
fanninam
Creator
Creator

Edit Expression

I'm trying to edit the following expression to include  "Sum({<[Year]={$(=(Only(Year)))}>}(Actaul_Amount)) "

Sum({$<HCOEdetail={'Revenue'}>}Actaul_Amount)/Sum(EjFTE)

How do I combine these so that it filters the year and the revenue divided by FTE?

1 Solution

Accepted Solutions
vishsaggi
Champion III
Champion III

Try this?

Sum({$<HCOEdetail={'Revenue'}, [Year]={ $(=Only(Year)) } >} Actaul_Amount)/Sum(EjFTE)

View solution in original post

3 Replies
vishsaggi
Champion III
Champion III

Try this?

Sum({$<HCOEdetail={'Revenue'}, [Year]={ $(=Only(Year)) } >} Actaul_Amount)/Sum(EjFTE)

vishsaggi
Champion III
Champion III

Hold on why you want the expr Only(Year) in your set. You expr of sum/sum(fte) will be calculated based on your selections right? What is that you are trying to get ?

fanninam
Creator
Creator
Author

It's a line graph with selected year and previous year for the two lines.  Your solution worked.  Thank you very much!