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

   <!-- Greeting -->
   Hi @code-ab! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the 
superset team.
   
   <!-- Answer -->
   This is a known bug in Superset 6.0.0: the "Last week" time filter generates 
a SQL condition with an inclusive start and exclusive end, where the end is set 
to midnight today. This means it only includes data up to yesterday and 
excludes today's data, which matches what you're seeing. There are no 
configuration options or workarounds in 6.0.0 to change this behavior. The bug 
is fixed in later releases—upgrading Superset is the recommended solution. As a 
temporary workaround, you can use a custom time range like "Last 7 days" to 
include today’s data. More details are in [GitHub issue 
#37246](https://github.com/apache/superset/issues/37246).
   
   
   <!-- 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/7b0a0719-b3e4-4e3d-bf09-053e4d23071b?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/7b0a0719-b3e4-4e3d-bf09-053e4d23071b?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/7b0a0719-b3e4-4e3d-bf09-053e4d23071b?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/7b0a0719-b3e4-4e3d-bf09-053e4d23071b?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/7b0a0719-b3e4-4e3d-bf09-053e4d23071b?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/7b0a0719-b3e4-4e3d-bf09-053e4d23071b?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/7b0a0719-b3e4-4e3d-bf09-053e4d23071b?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%20a%20known%20bug%20in%20Superset%206.0.0%3A%20the%20%22Last%20week%22%20time%20filter%20generates%20a%20SQL%20condition%20with%20an%20inclusive%20start%20and%20exclusive%20end%2C%20where%20the%20end%20is%20set%20to%20midnight%20today.%20This%20means%20it%20only%20includes%20data%20up%20to%20yesterday%20and%20excludes%20today%27s%20data%2C%20which%20matches%20what%20you%27re%20seeing.%20There%20are%20no%20configuration%20options%20or%20workarounds%20in%206.0.0%20to%20change%20this%20behavior.%20The%20bug%20is%20fixed%20in%20later%20releases%E2%80%94upgrading%20Superset%20is%20the%20recommended%20solution.%20As%20a%20temporary%20workaround%2C%20you%20can%20use%20a%20custom%20time%20range%20like%20%22Last%207%20days%22%20to%20include%20toda
 
y%E2%80%99s%20data.%20More%20details%20are%20in%20%5BGitHub%20issue%20%2337246%5D%28https%3A//github.com/apache/superset/issues/37246%29.)&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/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