First, insert the PivotTable report and set it as follows:
After setting up, the perspective is still not ideal and needs to be beautified;
Click "design", as shown in the following figure
First, select Report Layout and Tabular Layout; Then select Subtotal and Don't Show Subtotal. It's over.