Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi!
I've got a table with "StartTime" as dimension and "if(below(startTime)>$(Time),SignalDescription,null()) as expression.
the outout is like:
02/12/2011 15:31:13
02/12/2011 15:32:02
02/12/2011 15:32:34
02/12/2011 15:33:00
02/12/2011 15:33:07
02/12/2011 15:33:47 SignalDescr1
02/12/2011 15:34:01 SignalDescr2
02/12/2011 15:34:24
02/12/2011 15:35:16
02/12/2011 15:36:10
02/12/2011 15:36:33
02/12/2011 15:39:02
02/12/2011 15:39:55
02/12/2011 15:40:08 SignalDescr3
02/12/2011 15:40:16 SignalDescr4
but i want:
02/12/2011 15:33:47 SignalDescr1
02/12/2011 15:34:01 SignalDescr2
02/12/2011 15:40:08 SignalDescr3
02/12/2011 15:40:16 SignalDescr4
Have you got any suggestions?
Regards
-Davide
In your chart, go to the dimension tab an select the option "Suppress when value is null" for your dimension.
there is already the check on "Suppress when value is null"!
Hi,
Try to- if(below(startTime)>$(Time),SignalDescription,0) and theb 'Suppres Zero-Values' at the presentation tab
No, it doesn't work.... (there is also suppres null-values)
I know, but it didn't work for you,
are you sure that your expression is getting the result you want?
if you'll attach an example it be more clearly.
... your dimension is named "StartTime"? And you have "startTime" in your expression? QV is mostly case-sensitive - perhaps is this the reason why you don't get NULL-values.
regards,
Edgar
sorry my fault, it is always "Start Time" but in QV i wrote it right
OK, then you should make sure that QV can compare your timestamps - is your variable $(Time) interpreted as date? is your StartTime correctly interpreted, so QV can compare StartTime with $(Time) ? If in doubt, try comparing real numeric "if(num(below(StartTime))>num($(Time)),SignalDescription,null())".
regards,
Edgar
the comparsion is ok, indeed it works