I don't believe you'll have any luck doing this. The limitations are two-fold:
Leads are not part of Territory Management as they don't have a master-detail relationship to accounts. See this idea. Your workaround (dummy account), which I assume you may have gotten from this help doc, helps utilize it for assignment, but doesn't change the fact that it's not related in a way that the Dashboard can use.
The dashboard filter functionality is not something you can change through the UI (see edit for how to change it below editing xml) and is controlled by what Salesforce deems as equivalent fields. This usually limits you from making easy connections between fields with the same data type across objects. See this idea which is asking for the ability to set up what fields are equivalent or at least match up custom fields with the same name and data type across objects. This would help you if you stamped the Territory Name on a custom field on Leads and could tell the dashboard to use it. As of right now, you can see what Salesforce deems as equivalent fields by putting all your reports on a dashboard first, and then attempting to create a filter. It'll only display fields that are available.
You actually can technically do this as the below gets around limitation #2 mentioned above
It requires you editing the Dashboard XML directly which allows you to set a field on the Lead report component to use for the defined filter at the dashboard level. The below assume you have a custom field on your Lead object that is filled with the Territory Name. Not saying this is a good idea, but it is a way to achieve this.
- Create your dashboard with Opportunity and Account reports
- Create your filters based on Territory Name (so it's available to select)
- Add your lead reports
- Pull the dashboard into your IDE (
sfdx force:source:retrieve -m Dashboard)
- Manually create the XML property
dashboardFilterColumns for the
<dashboardComponent> that houses the Lead report (you can check the others to see how it looks)
- Edit the
<column> to reference your custom Lead field that represents Territory Name
- Deploy the dashboard with your changes
Example XML of the dashboardGridComponent related to your Lead Report where you can inject the reference to the field that the filter should use.
<header>New Leads Report</header>