Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Need help with Performance Analytics

Lisa Conn
Tera Expert

I am trying to create a stacked bar chart that shows a count of configuration items over a period of time that looks something like this:

LisaConn_0-1672332114766.png

From what I understand, this cannot be done with reporting tools and must be done with Performance Analytics.

I have created an Indicator Source with the facts table using a table extended from cmdb_ci, using standard calendar, valid for frequency as Monthly, with conditions based on owned by group and Created on This month

LisaConn_1-1672332343744.png

 

I have created an automated indicator using this indicator source with Unit of “#”, aggregate = count, additional condition of “Status is not Retired”

LisaConn_2-1672332466494.png

 

I have created a Breakdown source based on the CI type

LisaConn_3-1672332540479.png

 

I have created an automated Breakdown linked to the breakdown source and mapped to the automated indicator

LisaConn_4-1672332579641.png

 

I have created a Data collector job to collect historical with relative start 4 months ago linked to the automated indicator

LisaConn_5-1672332636559.png

When I execute the job, it runs without errors

When I check the Scoresheet, it shows what I assume is the expected data

LisaConn_6-1672332742296.png

 

 

I have created a widget to visualize the data as type “time series” on a column chart

LisaConn_8-1672332802772.png

 

But when I add the widget to a dashboard, it comes up blank

LisaConn_9-1672332854149.png

 

 

Can anyone tell where I went wrong in the configuration?

1 ACCEPTED SOLUTION

Hi @Lisa Conn ,

 

According to your requirement, you need to create a widget for every type mentioned to create the stacked bar chart. If you see your below widget configuration: 

 

AndersSkovbjer_0-1672423591439.png

Which actually refers that, Breakdown type = Unmatched doo to you have not selected anything in the breakdown element.

 

So to resolve your requirement, main widget should contain breakdown by type with element = item1(Your first type). Rest of the configurations should be done as Widget Indicators and not separate widgets. 

 

if my answer helped towards a resolution, please mark answer as correct.

 

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/

View solution in original post

9 REPLIES 9

Hi @Lisa Conn ,

 

According to your requirement, you need to create a widget for every type mentioned to create the stacked bar chart. If you see your below widget configuration: 

 

AndersSkovbjer_0-1672423591439.png

Which actually refers that, Breakdown type = Unmatched doo to you have not selected anything in the breakdown element.

 

So to resolve your requirement, main widget should contain breakdown by type with element = item1(Your first type). Rest of the configurations should be done as Widget Indicators and not separate widgets. 

 

if my answer helped towards a resolution, please mark answer as correct.

 

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/

@AndersBGS 

that worked perfectly, thank you SO MUCH! I want to mark your answer as correct but I don't see the "Accept as solution" option 

 

thanks!

Lisa

Hi @Lisa Conn1 ,

 

thank you so much for the information. According to ServiceNow docs:https://docs.servicenow.com/en-US/bundle/tokyo-customer-service-management/page/product/customer-com...

 

there should be an “mark as correct answer button” .isn’t that visible? 

 

2452B7F4-662D-4ACA-8841-D8EE415CCF76.jpeg

 

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/

AndersBGS
Tera Patron
Tera Patron

@Lisa Conn1 ,

 

below is from a question that I have asked:

 

29EFFBAF-8BD2-4213-A826-5C77A0CBCA56.jpeg


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/

got it! I wasn't logged in with the same account that I posted the question with. Thanks again! I really appreciate your help!

 

Lisa