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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Msgbox

Hi ,

Is it possible to use the Msgbox function in the expression in Straight or Piviot table.

for ex:

=if(a< b, sum(CID),Msgbox("A should be less than b"))

Regards,XXX



Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

Instead of using a message box, you can use the calculation condition to highlight the required text when the calculation condition is not satisfied. Use the below expression in the 'Calculation Condition' property under the 'General' tab

=if(a< b, true(),false())

The required error message can be entered by using the 'Error Messages' button in the 'General' tab.


View solution in original post

1 Reply
Not applicable
Author

Instead of using a message box, you can use the calculation condition to highlight the required text when the calculation condition is not satisfied. Use the below expression in the 'Calculation Condition' property under the 'General' tab

=if(a< b, true(),false())

The required error message can be entered by using the 'Error Messages' button in the 'General' tab.