duplicate fields

I have NAV 2013 and am trying to write a report that if 2 specific fields in the same row are the same that it will hide the row. What is the correct coding for this?

You can use visibility property in RDLC report wherein you can check


you can do that like amol suggests, you can also skip the line changing the onaftergetrecord trigger in the c/al code of the report using if field1 = field2 then currreport.skip.