You can add filters while Embedding dashboard items.
While adding the embed script you can define a filter array that can have multiple filter objects. For variable naming and filter object structure, please check the following code.
<script>
// if the id of the dashboard item is "67de24jh033889e", the variable name
should be "draxlrFilters67de24jh033889e". Dashboard item id can be
obtained from the Draxlr embed code
const dashboard<dashboard-id> = {
configuration: {
hideLastUpdated: true,
},
filters: [
{
table: "applicants",
field: "id",
operator: ">",
value: "40000",
// elementType : 'integer' | 'string' | 'datetime' | 'time' | 'boolean', (required for arrays)
// timeInterval: 'days' | 'weeks' | 'months' | 'years' (required with before_relative and after_relative)
},
..
],
}
</script>
/* Draxlr Embed Code */
Important links -