Skip to main content
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



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.