Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

YTD until selected day

Hi guys,

I'am trying to display the information until a user selected date, the problem is

Example:

The user wants the YTD until 5 June, so he selects in months the JAN, FEB, MAR , ... JUN, in the weeks 1,2,3,4..,23 but now the problem how i select all the day's until 5 June?

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

The solution was creating a button and set action "select in field": "my DateField" and the search string: = '>=' & vStartDate & '<=' & vEndDate, where my vStartDate it's the current year and vEndDate it's the selected date

View solution in original post

4 Replies
alexandros17
Partner - Champion III
Partner - Champion III

If you need a sum of sales for example, then write

Sum({$ <myDate={'<=$(=GetFieldSelections(myDate))'}>} sales)

let me know

Not applicable
Author

no is not a particular function but all the data displayed, like the drill does

ashfaq_haseeb
Champion III
Champion III

Hi,

Below post might help you.

YTQ, QTD, MTD and WTD

Regards

ASHFAQ

Not applicable
Author

The solution was creating a button and set action "select in field": "my DateField" and the search string: = '>=' & vStartDate & '<=' & vEndDate, where my vStartDate it's the current year and vEndDate it's the selected date