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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
sn_9052
Contributor II
Contributor II

Second(),odd(),now()

Hi All,

Can any one explain the below function,How it execute in qlikview.

I wrote the below code for flashing a Text box background color,but I want to know that functions what it do in that code.

if(Odd(Second(Now(1))),Yellow(),Green()).

Thank You.

Labels (1)
22 Replies
sunny_talwar
MVP
MVP

I just created a document on dev environment and it seems to be working without problems

YoussefBelloum
Champion
Champion

I made all the tests, I push one test app to the DEV.. the color change only when I click on the mouse..

Qlikview 12.1 SR3

sunny_talwar
MVP
MVP

Tested on QV11.2 SR5... can test on QV12.1 later in the month....

YoussefBelloum
Champion
Champion

last year I tried the same on a 11 version, it is exactly the same.. don't change if I don't click on the mouse.

I tried the expression above on the background of a textobject

sunny_talwar
MVP
MVP

Worked without any issue in a text box color for me. Just copy pasted the expression that the OP provided in there main post

sunny_talwar
MVP
MVP

No clicking of mouse is needed

YoussefBelloum
Champion
Champion

so I'll downgrade the server

sunny_talwar
MVP
MVP

But didn't you say that it didn't work for you on QV11 also?

YoussefBelloum
Champion
Champion

I'm going down to version 10

sunny_talwar
MVP
MVP

version 1 will give the best performance....