kundankumar for creating filters to apply to Compose SDK components such as charts, queries, widgets and dashboards (via the `filters` prop) you should use the filterFactory from `@sisense/sdk-data` to create the type of filter you want.
The documentation and example here should help, plus i'll include some links to other examples .. both creating filters in code, and using the built in UI components (I understand you want to use your own, but being able to interact with the filter tiles, and see the result, might help)