Visual Position of the row in table

Hey there, would you have a tip to use this in a grouped table?

I actually get this :