How to remove the WL units if there is no WL data

Hello,

Please refer to the file attached. I was wondering how to make GINT to get rid of the units in case there is no WL data.

It shows the units, however I would like GINT to show a BLANK in both cells or N/A.

Please let me know.1 - how to remove units if there is no WL DATA-red.pdf

Parents
  • You will have to edit the entity that is generating the the waterlevel reading\, it is not hard to do.

    Currently, the output text expression is probably is something like <<Waterlevel.reading>> m.  If there is no data for the reading it will still print the "m".  It may be as a separate entity or as associated text to the label for the water reading.

    You will need to change the expression to something like <<HasData(<<Waterlevel.Reading>>,<<Waterlevel.reading>> m, "NA")>>

    This will print the reading with  units if there is one and NA if there is not a reading.

    Your expression and data field names are probably different than this example so you will have to adapt.

Reply
  • You will have to edit the entity that is generating the the waterlevel reading\, it is not hard to do.

    Currently, the output text expression is probably is something like <<Waterlevel.reading>> m.  If there is no data for the reading it will still print the "m".  It may be as a separate entity or as associated text to the label for the water reading.

    You will need to change the expression to something like <<HasData(<<Waterlevel.Reading>>,<<Waterlevel.reading>> m, "NA")>>

    This will print the reading with  units if there is one and NA if there is not a reading.

    Your expression and data field names are probably different than this example so you will have to adapt.

Children