dosubot[bot] commented on issue #34737:
URL: https://github.com/apache/superset/issues/34737#issuecomment-3197570808

   <!-- Answer -->
   This is a known limitation in Superset's Value Range filter: the slider 
component defaults to integer steps unless a 'step' configuration is provided, 
so for decimal columns, only integer options are selectable. This isn't caused 
by rounding in the backend or frontend logic, but rather by the missing step 
configuration in the filter UI. Your workaround—pre-filtering to restrict the 
range to decimals—matches what others have found effective.
   
   This behavior is related to issue 
[#33206](https://github.com/apache/superset/issues/33206), which describes 
inconsistent filtering for numeric values with different decimal precision, 
especially when integer values are selected first. The issue affects multiple 
databases, including PostgreSQL.
   
   A suggested workaround is to create a new column in your dataset SQL that 
scales decimal values (for example, multiplying by 100), then use this new 
column for filtering, which allows for more granular control over the range. 
There are currently no recent pull requests addressing this limitation, so it's 
a missing feature rather than a regression or bug in rounding logic.
   
   If you have logs or stacktraces, feel free to share them—I'm happy to help 
interpret if needed.
   
   
   <!-- 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/a01b9f5d-9ef4-4e29-941e-4d3d8081087c?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/a01b9f5d-9ef4-4e29-941e-4d3d8081087c?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/a01b9f5d-9ef4-4e29-941e-4d3d8081087c?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/a01b9f5d-9ef4-4e29-941e-4d3d8081087c?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/a01b9f5d-9ef4-4e29-941e-4d3d8081087c?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/a01b9f5d-9ef4-4e29-941e-4d3d8081087c?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/a01b9f5d-9ef4-4e29-941e-4d3d8081087c?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
 b)&nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/34737)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to