Skip to main content
Announcements
Applications are open for the 2024 Qlik Luminary Program. Apply by December 15 here.
cancel
Showing results for 
Search instead for 
Did you mean: 
MuraliPrasath
Creator III
Creator III

Includes all Year Sales when User selects only Current Year.

Hi Qlik,

I have Year filter which shows Years from 2021 to 2023 (Current Year).

My requirement is to show SalesKPI in the below scenario. 

  • If User selects Current Year (2023) then it should show all the Years Sales. 
  • If User selects Other than Current Year then that particular Year Sales only should show. Can you help me on this?
  •  
  • MuraliPrasath_0-1681089896171.png

     

 

 

Labels (4)
1 Solution

Accepted Solutions
anat
Specialist III
Specialist III

If(getfieldselection(FY) =year(today()), sum({<FY=>}sales) , sum(sales)) 

View solution in original post

3 Replies
anat
Specialist III
Specialist III

If(getfieldselection(FY) =year(today()), sum({<FY=>}sales) , sum(sales)) 

anat
Specialist III
Specialist III

Bypass the FY selection if selected year is current year else show the data as per selection

MuraliPrasath
Creator III
Creator III
Author

Thank you 🙂 That worked perfectly. 😀