Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
george456
Creator
Creator

Set analysis - Max date

Dear Community

= Only({<MonthYr = {"$(=max({1}MonthYr))"}>})

 

The above is a syntax that I am using but it is giving no output. Please advise

Regards

1 Solution

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

so why use only?

just use max({1}MonthYr) in the variable.

I am assuming MonthYear is a date field

View solution in original post

4 Replies
dplr-rn
Partner - Master III
Partner - Master III

couple of things
1- you have not specified a column for the Only function. I am assuming that it is there in the actual code.
2- what is the output for max({1}MonthYr)
george456
Creator
Creator
Author

Hi

 

The output must refer to the latest date in my data . In this case it would be Jul 2019. The output must not change with any selections made in the data. 

I want to use this Latest Date ( Max Date ) as a variable in other calculations

 

Regards

dplr-rn
Partner - Master III
Partner - Master III

so why use only?

just use max({1}MonthYr) in the variable.

I am assuming MonthYear is a date field

george456
Creator
Creator
Author

Hi

 

Thanks for help. All is good now

 

Regards