Using the "Group by" option in Report Designer to Combine 3 Separate Fields

Alex Berlin
Tera Contributor

Hello! I am currently looking to create a pie chart that is grouped by the Subject Action Taken 1, Subject Action Taken 2, and Subject Action Taken 3 fields combined (all custom fields). The choice options are the same for each field and I would like to combine the data from the three columns into one reportable field, so that I can see the totals of each selection together rather than on separate charts.

 

Example:

Case #1

Subject Action Taken 1: Verbal

Subject Action Taken 2: Written

Subject Action Taken 3: Verbal

Case #2

Subject Action Taken 1: Written

Subject Action Taken 2: Verbal

Subject Action Taken 3: Verbal

 

Currently, my results would just show the following:

Subject Action Taken 1 - Verbal (1), Written (1)

Subject Action Taken 2 - Verbal (1), Written (1)

Subject Action Taken 3 - Verbal (2)

 

I would like it to have it be:

Subject Action Taken - Verbal (4), Written (2)

 

Attaching a picture of how the report looks currently, which uses the Group By option, but it treats them as separate graphs for each field.

AlexBerlin_0-1700682444959.png

AlexBerlin_1-1700682474685.png

 

1 ACCEPTED SOLUTION

SanjivMeher
Kilo Patron
Kilo Patron

I dont think you can achieve it using pie chart.

I would suggest creating one bar chart with Filter Subject Action Taken 1 or Subject Action Taken 2 or Subject Action Taken 3 is 'Verbal'.

Then use Multiple Dataset to create another report toFilter Subject Action Taken 1 or Subject Action Taken 2 or Subject Action Taken 3 is 'Written'.

 

SanjivMeher_0-1700685223963.png

 

 


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

4 REPLIES 4

SanjivMeher
Kilo Patron
Kilo Patron

I dont think you can achieve it using pie chart.

I would suggest creating one bar chart with Filter Subject Action Taken 1 or Subject Action Taken 2 or Subject Action Taken 3 is 'Verbal'.

Then use Multiple Dataset to create another report toFilter Subject Action Taken 1 or Subject Action Taken 2 or Subject Action Taken 3 is 'Written'.

 

SanjivMeher_0-1700685223963.png

 

 


Please mark this response as correct or helpful if it assisted you with your question.

Great, thank you!

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Alex Berlin 

I tried this in PDI but no success and i think it is not possible other than by multi-dataset.

 

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

AndersBGS
Tera Patron
Tera Patron

Hi @Alex Berlin ,

 

If I understand you correctly, you would like to show both "Subject 1 Action taken", "Subject 2 Action taken", and "Subject 3 Action taken" together - is this correct? If yes, then it's not possible in a pie chart. 

 

Instead I would recommend you to either create a column chart where you add the three different dataset based on "Subject X Action taken". https://docs.servicenow.com/bundle/vancouver-now-intelligence/page/use/reporting/task/t_AddAnAdditio.... By doing this, you can show the "Subject 1 Action taken", "Subject 2 Action taken", and "Subject 3 Action taken" in same chart.

 

Alternative, you also have the possibility to utilize performance analytics, where you can club it all together in a pie chart.

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

best regards

Anders

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/