DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Display "NA" in chart if channel doesnt exist

Solved!
Go to solution

Hi,

 

I made a report template to plot the channel in 2D Axis system.

Durai26_1-1685366021325.png

 

If Speed channel doesnt exist or Speed channel has "NOVALUE" then, want to display "NA" in the same chart. How to achieve this?, need some suggestion.

 

Durai26_2-1685366286749.png

 

Regards,

Durai

0 Kudos
Message 1 of 4
(1,345 Views)
Solution
Accepted by topic author Durai26

I attached an example TDR layout.  There is a chart and a text object.  When channel "Speed" exists in group 1, then the text is empty.  If you remove "Speed" from group 1 or rename it, the chart clears and there is a giant NA (make sure to refresh the chart after changing stuff in data portal).

I achieved this using iif() function in the text object and attached the screenshot below (but you can also see it in the TDR)

gsklyr_0-1685459275364.png

 

Message 2 of 4
(1,291 Views)

Hi gsklyr,

 

Thanks a lot, it worked.

0 Kudos
Message 3 of 4
(1,282 Views)

Hi gsklyr,

 

I got into new problem. Your suggestion really worked good with one channel.

 

Now I have a "Speed" channel and the limit value in a chart.

when channel exists,

Durai26_0-1686237389465.pngDurai26_1-1686237423225.png

 

When channel doesnt exists,

Durai26_2-1686237460251.png

when channel doesnt exist, we got "NA" but it still plot the "limit" which is constant value. How to avoid the limit curve to reflect when channel doesnt exist.

 

need to achieve without script.

 

regards,

Durai

 

0 Kudos
Message 4 of 4
(1,202 Views)