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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
matthewp
Creator III
Creator III

Qlikview ignore selection in text box (object)

I have a text box that contains an expression, however i dont want it to be affected by the selections in the list boxes.

=SUM(IF( (date(Monthname(C_DATE),'MMM-YY')) >=(AddMonths(Today(),-12)),1,0))
1 Solution

Accepted Solutions
sunny_talwar

This?

=Sum({1} If((Date(Monthname(C_DATE), 'MMM-YY')) >=(AddMonths(Today(),-12)), 1, 0))

View solution in original post

3 Replies
sunny_talwar

Try this:

=Sum({1}IF((Date(Monthname(Only({1}C_DATE)),'MMM-YY')) >=(AddMonths(Today(),-12)),1,0))

sunny_talwar

This?

=Sum({1} If((Date(Monthname(C_DATE), 'MMM-YY')) >=(AddMonths(Today(),-12)), 1, 0))

kuczynska
Creator III
Creator III

Did you try something like:

=SUM({1}IF( (date(Monthname(C_DATE),'MMM-YY')) >=(AddMonths(Today(),-12)),1,0))

sunindia The original expressions works fine for me; two other expressions are returning errors regarding nested aggregation (I would assume that might be coming from num() function)

matthewp‌ - can you please confirm what was the result of your original expression?