'Superset How to add a filter in dashboard

Superset comes with an example named "World's Bank Data". In its dashboard, there is a filter named "Region Filter". How can I implement this? Is there a tutorial on this? Any pointer or a quick explanation will be greatly appreciated.

enter image description here



Solution 1:[1]

Use superset jinja templating, example:
({{ "'" + "','".join(filter_values('platform')) + "'" }})

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Rohlik