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: 
Anonymous
Not applicable

YTD based on Selection for Financial Year

Hi All,

I have a query that I cannot seem to resolve.

I have a field called 'MonthYear' which has the following format 'MMM-YYYY'.

I wanted to calculate the sum year-to-financial-date of revenue based on the selection in the list box.

My financial year starts in July. Please note i would like to do this without the use of variables.

For example if the user selects Feb-2015 from the MonthYear listbox, the calculation should sum revenue from July-2014 to Feb-2015.

Thanks for you help in advance.

2 Replies
Gysbert_Wassenaar

Can you post a small qlikview document that demonstrates the problem?


talk is cheap, supply exceeds demand
Digvijay_Singh

try something like Sum(if(yeartodate(date,0,7),Revenue))