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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Creating QV Alert

Hi Everybody

I want to create a alert after  reload , if the number of characters of my fields CCN is more than 13 characters

The system must be alble to show just a rows that number of character is more than 13

Thank u for help

1 Solution

Accepted Solutions
sudeepkm
Specialist III
Specialist III

Can you please use the alert condition like below and test.

max(len([ref matricule])) >= 13

>= instead of >>

View solution in original post

11 Replies
sudeepkm
Specialist III
Specialist III

You can use the alert wizard to implement an alert in the document.

Define your "Condition" expression, Set Events as On Post Reload, Set Mode as Batch (to run in Server mode) and Set Delay (Frequency of Alert if needed) alert.png

Not applicable
Author

Thank U Sudeep

Do you have a idea to about the synthax  expression of my codition ? How to if (sum(of character)) != 13)

sudeepkm
Specialist III
Specialist III

I think to find the number of character you can use Len() function.

Not applicable
Author

It doesnt work   len([ref nom])>=13 len fonction return me 0

sudeepkm
Specialist III
Specialist III

Do you want to count

1. the number of values in that Field

or

2. the maximum number of characters present in the Field values

To count the Number of values of that field you may use the given below expression

Suppose the Field name is City

count(DISTINCT {<[$Field]={'City'} >} City). This will give you the number of values present in the field City

sudeepkm
Specialist III
Specialist III

to calculate the lengthiest character field value please use

max(len([yourfieldname])) >=13 in the alert condition.

So that if any one the field value has more than or equal to 13 characters then the alert will be generated.

Not applicable
Author

The max ( len ()) fonction doesnt return a true value

For exmaple i test fields with ( 1234567891234) the fonction return me 20

sudeepkm
Specialist III
Specialist III

Do you have a sample qvw or qvw with scrambled data that you can share? I just wanted to check the field and its values.

Not applicable
Author

Please See att