How to select all rows in grouped row

I have a table with only 2 columns; group_id and unique_code. I visualized my data in the new table component and grouped my data using group_id. I have made the table multiple select. If I tick the box select all, the entries being selected are the group_id's, is there a way to select the unique_code instead? The unique_code will only be selected if we expand the group_id's. Any alternatives is also fine. Thanks, team!

Exhibit 1: Selected everything

Exhibit 2: Unique Codes were not selected

I tagged this as a feature request as it seems this functionality is not available yet