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

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

Message Dialouge Box

Hi all,

I am using a year slider which has data from 2000 to 2050 applicable for a variety of measures.But the problem is for a particular measure there is only data for three years i.e 2005,2011,2013.So if the user selects that particular measure I need to display him a message to only select any one of these three years.

can anyone please help me to solve the problem

Thanks in advance

4 Replies
Not applicable
Author

hi

for generate message box,

go to menu--> tool--> alert box --> add --> write message and also write condition

you can also generate message by use of macro like this

Sub run

set  a=ActiveDocument.Variables("test1")

set b=ActiveDocument.Variables("test2")

If a.GetContent.String = b.GetContent.String  Then

msgbox("duplicate value")

Else

'msgbox(" value")

end if

end sub

  here test1 and test2 are variables.

Not applicable
Author

Thanks

I tried to do using alerts,but once if i close the app and open again the alert is not displaying.

Not applicable
Author

hi

example take a input box then add two variable like test1 test2.

now in alert box,

write condition  test1=test2

if condition true then message display, otherwise not display.

thanks

Not applicable
Author

Hi Vishwaranjan

It is working ,But when i deslect it and select again or close and open the app again the alert is not displaying

Thanks