Salesforce Chart Composer: Chart Filter | Object Reference Guide

Chart Filter

This record of this object represents an individual filter of a dataset.

An individual Chart Dataset record can have zero or multiple Chart Filter records. This object works independently of the Fields section in the Chart Dataset layout. The Chart Filter records are related to the Custom Filters Logic field in the dataset.

API Name: Chart_Filter__c


NameNameTextThe name of the Chart Filter record.

For best practices, name your filters as numbers e.g. 1, 2, etc.

Use this field to identify a filter in the Custom Filters Logic field of the related Dataset.
FieldField__cTextThis should contain the API name of a field present in the related Dataset’s Source Object.

For example: If the related Dataset of the Filter has ‘Account‘ in the Source Object field, then this field can contain the API name of any of the Account object’s fields.
OperatorOperator__cPicklistA list of comparison operators to choose from.

OptionsCompatible Field Type
Equals – All
Not Equals – All
Less Than – Number
Lesser or Equal – Number
Greater Than – Number
Greater or Equal – Number
Contains – Text
Does Not Contain – Text
ValueValue__cTextThe value for the respective field.

Text value must be enclosed with single quotes (”).

Decimal numbers must use Dot (.) as a decimal point.

Date Format: YYYY-MM-DD
DateTime Format: YYYY-MM-DDThh:mm:ssZ
DatasetDataset__cMaster-DetailThe lookup to Chart Dataset object. It represents the relationship between a dataset and a filter.
Source_Object__cSource_Object__cFormula(Hidden) The value of the Source Object field in the related Dataset.

Was this helpful?

Thanks for your feedback!

Talha Saqib

About Author

As a Salesforce Certified Developer, Talha Saqib is an expert in designing and implementing custom Salesforce solutions that help businesses achieve their goals. With 3+ years of experience in the Salesforce ecosystem, Talha has a deep understanding of the platform and is expert in Sales Cloud, Service Cloud, Experience Cloud, REST APIs, Aura and more.

Leave a comment

Your email address will not be published. Required fields are marked *

You may also like

Salesforce Chart Composer

Salesforce Chart Composer: Getting Started

Disclaimer: The package “Salesforce Chart Composer” and this blog “Salesforce Guides” are both initiatives of Talha Saqib. This blog post

Salesforce Chart Composer: Chart | Object Reference Guide

This record of this object represents an individual chart. It is the first record that needs to be created to