Can't groupby Value in metrics View

giuseppem
Kilo Sage

I All

 

I have problem with database view and data visualization.

 

In CSM I create ad databaseviews OOTB incident_metrics. 

 

Database view work fine. I can use query view and select as Data Source in Data Visualization or report, but I can't GroupBy on Value field. Field isn' t available

 

In PDI I can group by "Value"

 

giuseppem_1-1761420923373.png

 

In Customer instance Value is missing

 

giuseppem_0-1761420818865.png

 

Regards 

 

 

 

1 ACCEPTED SOLUTION

J Siva
Kilo Patron
Kilo Patron

Hi @giuseppem 
Try adding the ‘Can group’ attribute to that particular field dictionary record.

Steps:

  1. Navigate to System Definition > Dictionary and access the record name you wish to edit
  2. Open the record and click on Advanced View under Related Links.
  3. In the Attributes field, add 'can_group=true' as the value of the Attributes field (without quotes) and save.

Ref artcile: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0634531

Regards,
Siva

View solution in original post

3 REPLIES 3

J Siva
Kilo Patron
Kilo Patron

Hi @giuseppem 
Try adding the ‘Can group’ attribute to that particular field dictionary record.

Steps:

  1. Navigate to System Definition > Dictionary and access the record name you wish to edit
  2. Open the record and click on Advanced View under Related Links.
  3. In the Attributes field, add 'can_group=true' as the value of the Attributes field (without quotes) and save.

Ref artcile: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0634531

Regards,
Siva

giuseppem
Kilo Sage

Many thanks J Siva. 

@giuseppem Glad it helped.