Print this page

How can I retrieve the names of the columns that can be filtered on when using apex:reportChart?

Knowledge Article Number 000204587
Description How can I find the names I need to pass into the "filter" attribute of an <apex:reportChart> component?
Resolution As this article describes, to get the API name you need to make a describe request via the Analytics REST API or Analytics Apex Library like so:

In the response you will find the API names:

"detailColumns" : [ "OWNER", "SUBJECT", "CREATED_DATE", "AGE", "OPEN", "CLOSED", "ACCOUNT.NAME" ] 

promote demote