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

   <!-- Answer -->
   This is still a known issue in Superset 5.0.0, 6.0.0, and the latest version 
as of January 2026: the "Last week" filter excludes today's data because it 
sets the end of the range to midnight today, so only data up to yesterday is 
included. This matches what you're seeing and is confirmed by other users and 
maintainers as well [source](https://github.com/apache/superset/issues/37246).
   
   There isn't a built-in config or fix for this yet. The main workaround is to 
use a custom time range like "Last 7 days" or manually select the dates to 
include today. There's a proposed improvement to add a checkbox for including 
today in the filter, but it's only available in a fork for now and not merged 
into mainline Superset 
[source](https://github.com/apache/superset/discussions/33021).
   
   If you need more flexible options, check if your version supports the 
"Current week" filter (added in Superset 4.1.0), or use custom SQL in your 
dataset/view to adjust the time range. Timezone handling can also affect 
this—Superset calculates ranges in UTC, so depending on your timezone, the 
filter may behave differently 
[source](https://github.com/apache/superset/discussions/36449).
   
   Let me know your exact Superset version if you want more tailored advice or 
details about available features.
   
   
   <!-- 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/ed5c039b-60e4-44e9-8825-205cbc698a0e?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/ed5c039b-60e4-44e9-8825-205cbc698a0e?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/ed5c039b-60e4-44e9-8825-205cbc698a0e?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/ed5c039b-60e4-44e9-8825-205cbc698a0e?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/ed5c039b-60e4-44e9-8825-205cbc698a0e?feedback_type=hallucination)
 | [Report 
šŸ›](https://app.dosu.dev/response-feedback/ed5c039b-60e4-44e9-8825-205cbc698a0e?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/ed5c039b-60e4-44e9-8825-205cbc698a0e?feedback_type=other)</sup>
   
   [![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20is%20still%20a%20known%20issue%20in%20Superset%205.0.0%2C%206.0.0%2C%20and%20the%20latest%20version%20as%20of%20January%202026%3A%20the%20%22Last%20week%22%20filter%20excludes%20today%27s%20data%20because%20it%20sets%20the%20end%20of%20the%20range%20to%20midnight%20today%2C%20so%20only%20data%20up%20to%20yesterday%20is%20included.%20This%20matches%20what%20you%27re%20seeing%20and%20is%20confirmed%20by%20other%20users%20and%20maintainers%20as%20well%20%5Bsource%5D%28https%3A//github.com/apache/superset/issues/37246%29.%0A%0AThere%20isn%27t%20a%20built-in%20config%20or%20fix%20for%20this%20yet.%20The%20main%20workaround%20is%20to%20use%20a%20custom%20time%20range%20like%20%22Last%207%20days%22%20or%20manually%20select%20the%20dates%20to%20incl
 
ude%20today.%20There%27s%20a%20proposed%20improvement%20to%20add%20a%20checkbox%20for%20including%20today%20in%20the%20filter%2C%20but%20it%27s%20only%20available%20in%20a%20fork%20for%20now%20and%20not%20merged%20into%20mainline%20Superset%20%5Bsource%5D%28https%3A//github.com/apache/superset/discussions/33021%29.%0A%0AIf%20you%20need%20more%20flexible%20options%2C%20check%20if%20your%20version%20supports%20the%20%22Current%20week%22%20filter%20%28added%20in%20Superset%204.1.0%29%2C%20or%20use%20custom%20SQL%20in%20your%20dataset/view%20to%20adjust%20the%20time%20range.%20Timezone%20handling%20can%20also%20affect%20this%E2%80%94Superset%20calculates%20ranges%20in%20UTC%2C%20so%20depending%20on%20your%20timezone%2C%20the%20filter%20may%20behave%20differently%20%5Bsource%5D%28https%3A//github.com/apache/superset/discussions/36449%29.%0A%0ALet%20me%20know%20your%20exact%20Superset%20version%20if%20you%20want%20more%20tailored%20advice%20or%20details%20about%20available%20features.)&nb
 sp;[![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/37372)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to