Navigation for dependent pages

I'm working on a location analysis dashboard. There are three main sections that are somewhat but not really related and somewhat but not really in a hierarchical system.

There's the main page. A overview of all locations (around 20) in a table.

There's a location details page. That's the biggest of sections it features a sidebar with submenus. The user gets to the detail page by clicking on a row inside the overview-table.

There's a location comparison page. Where two or more locations can be compared. The comparison opens by selecting multiple locations inside the table and then clicking on 'compare'.

I'm worried that the navigation structure is not clear enough as two of the sections only become apparend when interacting with the table. I was thinking about creating a sidebar that features the items: Overview, Details and Comparison but that doesn't really make sense because the two sections Details and Comparison depend on a selection made in Overview

Are there any best practices to navigate an UI like that?

Thanks