- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2024 12:07 AM
Hello, I want to create a report that dose group by on specific filed but I want to show label of other filed.
I have X table and every record have a name, and I also have Count filed in each record
I want to group by the count and show the record name and not the number
here is an example for my problem
as you can see only number is shown
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2024 12:53 AM - edited ‎07-10-2024 12:54 AM
Hi @eyal abu hamad,
Using a List Report:
Create a New Report:
- Navigate to Reports > Create New in your ServiceNow instance.
- Select List as the type of report.
Select the Table:
- Choose the appropriate table (e.g., X table) for your report.
Add Columns:
- Add the Name field to the list of columns.
- Add the Count field to the list of columns.
Group by Count Field:
- You can group by the Count field by dragging it to the Group By section or setting it in the Group By field.
- Ensure the report is set to display records grouped by the Count field.
Save and Run the Report:
- Save your report configuration and run it to preview the results.
Using a Pivot Table Report:
Create a New Report:
- Navigate to Reports > Create New in your ServiceNow instance.
- Select Pivot as the type of report.
Select the Table:
- Choose the appropriate table (e.g., X table) for your report.
Configure the Pivot Table:
- For the Rows, add the Name field.
- For the Columns, add the Count field.
Aggregation:
- Set the Aggregation method for the Count field (e.g., SUM, COUNT, etc.) as needed.
Save and Run the Report:
- Save your report configuration and run it to preview the results.
Thank you, please make helpful if you accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2024 12:15 AM
Hi @eyal abu hamad,
To create a report in ServiceNow that groups by the Count field and displays the Name field, you can follow these steps:
Create a New Report:
- Navigate to Reports > Create New in your ServiceNow instance.
- Choose the appropriate report type (e.g., List, Pivot, etc.) based on your requirements.
Define Report Criteria:
- Add a filter to specify any conditions you need for the records to include in the report.
Grouping and Aggregation:
- Drag the Count field into the Group By section to group records based on the Count field.
Displaying Name Instead of Count:
- Drag the Name field (or whichever field contains the labels you want to display) into the report columns section.
Customize Column Display:
- Ensure that the report is configured to display the Name field's data. You might need to adjust column settings to show the field label instead of the value if required.
Sorting and Formatting:
- Optionally, adjust sorting and formatting settings to enhance readability and usability of the report.
Save and Run the Report:
- Save your report configuration and run it to preview the results.
- Adjust as necessary to ensure the report meets your needs.
Thank you, please make helpful if you accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2024 12:24 AM
I want to show for each record the count filed but with the name of the record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2024 12:53 AM - edited ‎07-10-2024 12:54 AM
Hi @eyal abu hamad,
Using a List Report:
Create a New Report:
- Navigate to Reports > Create New in your ServiceNow instance.
- Select List as the type of report.
Select the Table:
- Choose the appropriate table (e.g., X table) for your report.
Add Columns:
- Add the Name field to the list of columns.
- Add the Count field to the list of columns.
Group by Count Field:
- You can group by the Count field by dragging it to the Group By section or setting it in the Group By field.
- Ensure the report is set to display records grouped by the Count field.
Save and Run the Report:
- Save your report configuration and run it to preview the results.
Using a Pivot Table Report:
Create a New Report:
- Navigate to Reports > Create New in your ServiceNow instance.
- Select Pivot as the type of report.
Select the Table:
- Choose the appropriate table (e.g., X table) for your report.
Configure the Pivot Table:
- For the Rows, add the Name field.
- For the Columns, add the Count field.
Aggregation:
- Set the Aggregation method for the Count field (e.g., SUM, COUNT, etc.) as needed.
Save and Run the Report:
- Save your report configuration and run it to preview the results.
Thank you, please make helpful if you accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2024 12:22 AM
Displaying Name Instead of Count:
- Drag the Name field (or whichever field contains the labels you want to display) into the report columns section.
?? how is this done. from where to drag ???
- Drag the Name field (or whichever field contains the labels you want to display) into the report columns section.
