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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
ferha_jafri
Partner - Creator III
Partner - Creator III

Needed help in an expression

Hello Everyone,

I need help in writing an expression in text box as if max(MY) is present in the Field then print the message as present or absent . Not sure how to achieve it. Attaching the sample application.

1 Solution

Accepted Solutions
sunny_talwar

May be this:

=If(SubStringCount(Concat(Filename),$(vMonthId)) > 0 ,1, 0)

Changed the variable to this: Max(Num#(MY, '##'))

View solution in original post

2 Replies
sunny_talwar

May be this:

=If(SubStringCount(Concat(Filename),$(vMonthId)) > 0 ,1, 0)

Changed the variable to this: Max(Num#(MY, '##'))

Anonymous
Not applicable

try like this?

Take a variable, say:

Let VMax=max(FieldName);

Then in Text Box try this?

If(FieldName='$(VMax)', 'Present', 'Absent')