Doubt to hide some fields in ireport?

-1

How about. I am new with the use of ireport, I have created the report with the query and everything works fine but I do not think that when the total sum of the row of "states" is equal to 0, do not print these fields. (In a row I have 3 fields: 1 label with the title of the row, a $ Field with the value of that row and a $ P with the total of that row). I seemed to read about the expression print when expression but I can not do it, I would appreciate your help.

    
asked by alexis almaran 21.08.2017 в 22:39
source

1 answer

0

Conditioners are set in the "Text field expression" property, to evaluate the variable or parameter.

$P{suma_total}==0 ? ("") :  $P{suma_total}
    
answered by 21.08.2017 в 23:17