jasper reports - how to ignore repeated value at sum time? -
I'm new to JasperReports , I have a report in which table data is table title
/ P>
id | Products | Zodiac Discount ---------------------------------- 1. ABC | 12000 | 10 1 ABC | 12000 | 10 1 ABC | 12000 | 10 2 ABC 5000 | 20 2 ABC | 5000 | 20 2 ABC | 5000 | 20 2 ABC | 5000 | 20 3 ABC | 13000 | 25 3 ABC | 13000 | 25
I want to use built in functionality like JasperReports , such as "print duplicated value is unchecked" its display is not shown repeated, but when I Trying to sum up this amount will give all this amount, but I have to get out of 12000 + 5000 + 13000
So how do I get results?
I want to get the results
id. Products | Zodiac Discount ---------------------------------- 1. ABC | 12000 | 10 | ABC | | | ABC | | 2 | XYZ | 5000 | 20 | XYZ | | | XYZ | | | XYZ | | 3 | PQR | 13000 | 25 | PQR | | ---------------------------------- Total 30000 55 ------------- ---------------------
Comments
Post a Comment