To pivot data effectively, your source data needs to be normalised - that is, each row contains a fact (or facts), and all the dimension values which describe that fact.
In your case, your source data has a blank value for the location dimension, in many cases.
I'd suggest using Power Query (Get & Transform data) to transform (normalise) your source data, then you can create your pivot table based on that. You just need a fairly simple query to fill down the Location values, and remove the Items subtotal rows.
Format your source data as a table, then use:
Now pivot on this. See attached workbook for an example.
Bookmarks