Group filtering and Table formatting