A few weeks ago, I showed how you could load sales data containing ZIP code information and map it against ZIP code polygons. You can find the article here.
That solution works marvelously if you want to look at data for a single period, say a single year or month. But often you want to compare one period to another to detect change over time.
Today, I will show you how you can add the 2025 sales numbers to a table where you already have the sales numbers for 2024.
Happy #MapInfoMonday!
Updating an Existing Zip Code Table with Additional Data
I already have a table with zip codes and the sales numbers for 2024. This table is called Sales_Numbers in my example.
Now I want to add the sales numbers for 2025 to this existing table.
This can be done in two steps:
- Add a new column for the additional sales number. Make sure to give it a meaningful name
- Update this new column with the sales numbers from your spreadsheet/CSV file.
To add a new column to my table, I access the Table Structure dialog. You can quickly get to this dialog by double-clicking on the table in the Table List.
Note: When you modify the structure of a table, the content of the table is saved into a new table and reopened. This also means that the table gets closed from all the windows that contain the table. I would strongly advise you to create a workspace with your current session before modifying the table structure, and after having changed the structure, close all and open this workspace again.
Now the Table Structure dialog opens for this table.
------------------------------
Peter Horsbøll Møller
Principal Presales Consultant | Distinguished Engineer
Precisely | Trust in Data
------------------------------