customization of report detailed calculation(99000756) nav(2013 R2)

i try to customize navision report (99000756) Detailed calculation .i add a filter for scrap% .

and write code as,


practiclY as text variable



MESSAGE(‘the value of item scrap is %1’,Item.“Scrap%”,);

when I run the report and put scrap =20 in filter then it display “the value of item scrap is 20” but not show any result,also i filter the item NO.

and when scrap = 0

then report view is right why such happen…