This tutorial assumes that you a a basic knowledge of pivot tables in google sheets and have imported your CSV data into Google Sheets
Use a pivot table and build the track listings
- Import your CSV data and format dates by month in a table in Google Sheets. If you haven’t done that see this tutorial for details
- Select any cell in your data table
- Choose Insert > Pivot table. Create a new sheet
- Click Add button next to Values in the Pivot table editor. Select total_royalty_revenue (that is the total royalties generated after Labelcaster’s commission) You should see a total royalty amount in the table
- Click Add button next to Rows again the Pivot table editor, choose track_title You should now see a table of tracks and royalty amounts
- Click Add button next to Rows again the Pivot table editor, choose ISRC Uncheck Show totals for IRSC. This keeps the track and ISRC on the same line
- Click Add button next to Rows in the Pivot table editor, choose track_artist
Uncheck Show totals for track_artist
You should have a pivot table that looks something like this
Adding a filter to see just a single month
You probably want to the report to only show data for a single month. Set up a filter to do that.
- Click Add button next to Filters in the Pivot table editor
- Choose report_date
- Click the pop-up menu under report_date in the Filters section. It says “Showing all items”
- Click the Clear text to deselect all values
- Pick one month that you want to the report to show, for example 2024-12
- The data in the pivot table just shows values for your chosen dates
Cleaning it up and formatting
- Adjust the column widths to see all the data
- Select columns A, B, C and D
- To auto-expand the column wide to fit the contents, double click the divider line between any of the columns, for example between A and B
- Make the numbers easier to read. Format the numbers to be Euros.
- Select cells with number values (column D)
- Choose menu item: Format > Number > Custom currency
- Choose the Euro sign and two decimal places and Apply
When you format like this the values round to 1/100ths, so they can round up or down a bit depending. Some tiny amounts will round to zero.
An alternative— show tracks grouped and summed by artist
You can rearrange the rows in the pivot table to group tracks by artist with jsut a few clicks to the above chart.
- In the rows section of the Pivot table editor, drag on the track_artist card and drag it up above the track_title card
- You select the card by clicking a dragging on the text title section (right on track_title)
- Make sure you drag it above the other cards and not on top of them as it will replace them if you do. The other card turn green if you are about to replace them
- You ‘ll want to resize the columns to fit the new data order. Repeat step 1 in Cleaning it up above
- You can click on the minus sign (-) next to the artist name to fold away the detail data.
