alvinlabiano opened a new issue #13115:
URL: https://github.com/apache/superset/issues/13115


   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


----------------------------------------------------------------
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.

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