How do I create a user report with all the accounts assigned to the user's territory ? I also need them to be grouped by country.
답변 1개
You can try
- Make sure that you have a custom report type that links the Accounts and Territories objects. Specify that the Accounts object must have related Territory records, and make all fields on these objects available for reporting.
- Click the Reports tab, and then click New Report.
- From the Territory Management category, select the custom report type created for this report, and then click Continue (Lightning Experience) or Create (Salesforce Classic).
- Make sure that the Accounts field Account Name and the Territories field Label appear on the report. If they do not, add them.
- (Optional) Filter the report results. To show data from territory models in Active state only, configure the filter options to show Territory Model: Label equals <name of active territory model>. From the Show Me (Lightning Experience) or Show (Salesforce Classic) field, to filter by account ownership, select My accounts, My team’s accounts, or My territory teams’ accounts. To filter by user territory assignment, select My territories’ accounts.
- Add any other fields you find useful for this report.
- Save the report and run it.