-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2 TIme Column Filter for Superset Apache #13115
Labels
question & help wanted
Use Github discussions instead
Comments
junlincc
added
question & help wanted
Use Github discussions instead
and removed
#bug
Bug report
labels
Feb 15, 2021
You can just write custom SQL query that wraps that logic of a single time range bring pass to different where clause parts |
This was referenced Nov 30, 2023
This was referenced Dec 6, 2023
This was referenced May 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there are way to create a widget with Superset Apache where the SQL Query is based on 2 time columns?
Example Query:
"SELECT
title
,pipeline_id
,alc_production_status
,campaign_start_date
,campaign_end_date
,website_name
,performance_status_name
,sum(spend) AS spend
FROM superset_native_dashboard.v_content_list_with_facebook_ads_v1
WHERE ((campaign_start_date BETWEEN date '2020-12-27' AND date '2020-12-28') OR
(campaign_end_date BETWEEN date '2020-12-27' AND date '2020-12-28'))
GROUP BY
title
,pipeline_id
,alc_production_status
,campaign_start_date
,campaign_end_date
,website_name
,performance_status_name
The text was updated successfully, but these errors were encountered: