GitHub user dosubot[bot] added a comment to the discussion: I want to set a default value in SPR which cannot be removed @dosu
<!-- Answer --> Here are the steps: 1. In your dashboard or report, open the filter configuration (for the filter you want to make mandatory). 2. Set the default value you want in the "Default Value" field. 3. Enable the option labeled "Filter value is required" (this may appear as a toggle or checkbox). This ensures the filter cannot be cleared or left empty by users. 4. Save the filter configuration. With these settings, the default value will always be present in the filter and users will not be able to remove it in the UI. This works for native filters and Select filters in Superset. The enforcement is handled in the UI, so the filter value is always required and cannot be cleared by users. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/d8920e7d-a9d1-4fd2-8126-8ea701247c40?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/d8920e7d-a9d1-4fd2-8126-8ea701247c40?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/d8920e7d-a9d1-4fd2-8126-8ea701247c40?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/d8920e7d-a9d1-4fd2-8126-8ea701247c40?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d8920e7d-a9d1-4fd2-8126-8ea701247c40?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/d8920e7d-a9d1-4fd2-8126-8ea701247c40?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/d8920e7d-a9d1-4fd2-8126-8ea701247c40?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/35695) GitHub link: https://github.com/apache/superset/discussions/35695#discussioncomment-14706480 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
