I’m sorry that my explanation is not clear.
The data source you want to display is the data in the table on the left side of the photo.

From this data source, I would like to divide the cases according to the pattern on the right and page them within RG.