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.

To fetch categories and sub categories for reports from sys_choice table

Nikita47
Giga Contributor

Hi,

My requirement to get a report of all the categories,sub categories & sub sub categories.

All the choices are stored in sys_choice table and my requirement is to get separate column of category sub category & sub sub categories. but i am not able to do this because category and sub category are coming under same column name i.e element.

I tried to do it through database view but ran out of ideas.

 

Pls help.

 

Regards,

Nikita

find_real_file.png

5 REPLIES 5

Harsh Vardhan
Giga Patron

you can try here with multi level pivot table type report. 

 

it will appear like below screenshot. 

 

find_real_file.png

 

find_real_file.png

 

 

Doc link for further details. 

 

https://docs.servicenow.com/bundle/madrid-performance-analytics-and-reporting/page/use/reporting/con...

 

 

If my answer  helped you, mark it as correct and helpful.