When using groups on jasper file it doesn't group the records accordingly. I have a "cidades" listing grouped by "mesoregioes" and "estados" Following image shows the output of jaspersoft studio and jasperphp repesctively:   I've tested without the nested groups, same problem.