Hi Niraj,
Thank you for your response. See the screenshot attached.
The first group and second group is exactly the same with just one work difference and the data is also the same with just extra columns added. The issue is in the second group the subgroups are not being displayed as the first one but data is accurate.
What could be wrong?