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

Set Expression - Sum of Current Financial Year Sales

Hi,

I am trying to sum the current financial year sales.

I have tried the below expression but I just get - back.

=sum({1<FinancialYear = max(FinancialYear)>}Sales)

If I enter the year 2015 I get the correct results, however I don't want to have to hardcode the current financial year.

=sum({1<FinancialYear = {2015}>}Sales)

Am I on the right track?

Thanks in advance for your help.

Jordan

1 Solution

Accepted Solutions
aveeeeeee7en
Specialist III
Specialist III

Try this:

=sum({1<FinancialYear ={'$(=Max(FinancialYear))'}>}Sales)

Regards

Av7eN

View solution in original post

4 Replies
aveeeeeee7en
Specialist III
Specialist III

Try this:

=sum({1<FinancialYear ={'$(=Max(FinancialYear))'}>}Sales)

Regards

Av7eN

aveeeeeee7en
Specialist III
Specialist III

See the Attachment.

senpradip007
Specialist III
Specialist III

Try this:

sum({1<FinancialYear ={$(=Max(FinancialYear))}>} Sales)

Not applicable
Author

Awesome, Thanks Mate