Parameters |
{"datasource": "2053__table", "viz_type": "dist_bar", "slice_id": 9367, "url_params": {}, "granularity_sqla": null, "time_grain_sqla": "P1D", "time_range": "Last week", "metrics": [{"expressionType": "SIMPLE", "column": {"id": 50454, "column_name": "total_meet_standard", "verbose_name": null, "description": null, "expression": "", "filterable": false, "groupby": false, "is_dttm": false, "type": "BIGINT", "database_expression": null, "python_date_format": null, "optionName": "_col_total_meet_standard"}, "aggregate": "SUM", "sqlExpression": null, "hasCustomLabel": true, "fromFormData": true, "label": "Meeting Standards", "optionName": "metric_d4suzw89qqb_x3vb34xwg2"}, {"expressionType": "SIMPLE", "column": {"id": 51179, "column_name": "total_at_least_one_mou", "verbose_name": null, "description": null, "expression": "", "filterable": false, "groupby": false, "is_dttm": false, "type": "INTEGER", "database_expression": null, "python_date_format": null, "optionName": "_col_total_at_least_one_mou"}, "aggregate": "SUM", "sqlExpression": null, "hasCustomLabel": true, "fromFormData": true, "label": "At least one mou", "optionName": "metric_6sh2q58tw7v_5iez2rwg0fn"}, {"expressionType": "SIMPLE", "column": {"id": 51180, "column_name": "total_have_authorization", "verbose_name": null, "description": null, "expression": "", "filterable": false, "groupby": false, "is_dttm": false, "type": "INTEGER", "database_expression": null, "python_date_format": null, "optionName": "_col_total_have_authorization"}, "aggregate": "SUM", "sqlExpression": null, "hasCustomLabel": true, "fromFormData": true, "label": "Have authorization", "optionName": "metric_hku4ye5iqxa_kqdsck4kpi9"}], "adhoc_filters": [{"expressionType": "SIMPLE", "subject": "type", "operator": "==", "comparator": "RCI", "clause": "WHERE", "sqlExpression": null, "fromFormData": true, "filterOptionName": "filter_1gjapim9vxh_2c4teh5o4tj"}, {"expressionType": "SIMPLE", "subject": "year", "operator": "==", "comparator": "2018", "clause": "WHERE", "sqlExpression": null, "fromFormData": true, "filterOptionName": "filter_i2c3gr2opi9_yeesunyz2gh"}, {"expressionType": "SQL", "sqlExpression": "SUM(total_meet_standard) <> 0", "clause": "HAVING", "subject": null, "operator": null, "comparator": null, "fromFormData": true, "filterOptionName": "filter_vb1ci6da1o8_sb0k7veaay"}], "groupby": ["province_english_name"], "columns": [], "row_limit": 10000, "contribution": false, "color_scheme": "bnbColors", "show_legend": true, "show_bar_value": false, "bar_stacked": false, "order_bars": false, "y_axis_format": "100", "y_axis_label": "", "show_controls": false, "x_axis_label": "", "bottom_margin": "auto", "x_ticks_layout": "auto", "reduce_x_ticks": false, "remote_id": 744, "datasource_name": "care_facilities_data", "schema": "public", "database_name": "UNICEF Cambodia", "import_time": 1642578313}
|
Query Context |
{"datasource":{"id":50,"type":"table"},"force":false,"queries":[{"time_range":"Last week","granularity":null,"filters":[{"col":"type","op":"==","val":"RCI"},{"col":"year","op":"==","val":"2018"}],"extras":{"time_grain_sqla":"P1D","having":"(SUM(total_meet_standard) <> 0)","where":""},"applied_time_extras":{},"columns":["province_english_name"],"metrics":[{"aggregate":"SUM","column":{"column_name":"total_meet_standard","database_expression":null,"description":null,"expression":"","filterable":false,"groupby":false,"id":50454,"is_dttm":false,"optionName":"_col_total_meet_standard","python_date_format":null,"type":"BIGINT","verbose_name":null},"expressionType":"SIMPLE","fromFormData":true,"hasCustomLabel":true,"label":"Meeting Standards","optionName":"metric_d4suzw89qqb_x3vb34xwg2","sqlExpression":null},{"aggregate":"SUM","column":{"column_name":"total_at_least_one_mou","database_expression":null,"description":null,"expression":"","filterable":false,"groupby":false,"id":51179,"is_dttm":false,"optionName":"_col_total_at_least_one_mou","python_date_format":null,"type":"INTEGER","verbose_name":null},"expressionType":"SIMPLE","fromFormData":true,"hasCustomLabel":true,"label":"At least one mou","optionName":"metric_6sh2q58tw7v_5iez2rwg0fn","sqlExpression":null},{"aggregate":"SUM","column":{"column_name":"total_have_authorization","database_expression":null,"description":null,"expression":"","filterable":false,"groupby":false,"id":51180,"is_dttm":false,"optionName":"_col_total_have_authorization","python_date_format":null,"type":"INTEGER","verbose_name":null},"expressionType":"SIMPLE","fromFormData":true,"hasCustomLabel":true,"label":"Have authorization","optionName":"metric_hku4ye5iqxa_kqdsck4kpi9","sqlExpression":null}],"annotation_layers":[],"row_limit":10000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{}}],"form_data":{"adhoc_filters":[{"clause":"WHERE","comparator":"RCI","expressionType":"SIMPLE","filterOptionName":"filter_1gjapim9vxh_2c4teh5o4tj","fromFormData":true,"operator":"==","sqlExpression":null,"subject":"type"},{"clause":"WHERE","comparator":"2018","expressionType":"SIMPLE","filterOptionName":"filter_i2c3gr2opi9_yeesunyz2gh","fromFormData":true,"operator":"==","sqlExpression":null,"subject":"year"},{"clause":"HAVING","comparator":null,"expressionType":"SQL","filterOptionName":"filter_vb1ci6da1o8_sb0k7veaay","fromFormData":true,"operator":null,"sqlExpression":"SUM(total_meet_standard) <> 0","subject":null}],"bar_stacked":false,"bottom_margin":"auto","color_scheme":"bnbColors","columns":[],"contribution":false,"database_name":"UNICEF Cambodia","datasource":"50__table","datasource_name":"care_facilities_data","granularity_sqla":null,"groupby":["province_english_name"],"import_time":1642578313,"metrics":[{"aggregate":"SUM","column":{"column_name":"total_meet_standard","database_expression":null,"description":null,"expression":"","filterable":false,"groupby":false,"id":50454,"is_dttm":false,"optionName":"_col_total_meet_standard","python_date_format":null,"type":"BIGINT","verbose_name":null},"expressionType":"SIMPLE","fromFormData":true,"hasCustomLabel":true,"label":"Meeting Standards","optionName":"metric_d4suzw89qqb_x3vb34xwg2","sqlExpression":null},{"aggregate":"SUM","column":{"column_name":"total_at_least_one_mou","database_expression":null,"description":null,"expression":"","filterable":false,"groupby":false,"id":51179,"is_dttm":false,"optionName":"_col_total_at_least_one_mou","python_date_format":null,"type":"INTEGER","verbose_name":null},"expressionType":"SIMPLE","fromFormData":true,"hasCustomLabel":true,"label":"At least one mou","optionName":"metric_6sh2q58tw7v_5iez2rwg0fn","sqlExpression":null},{"aggregate":"SUM","column":{"column_name":"total_have_authorization","database_expression":null,"description":null,"expression":"","filterable":false,"groupby":false,"id":51180,"is_dttm":false,"optionName":"_col_total_have_authorization","python_date_format":null,"type":"INTEGER","verbose_name":null},"expressionType":"SIMPLE","fromFormData":true,"hasCustomLabel":true,"label":"Have authorization","optionName":"metric_hku4ye5iqxa_kqdsck4kpi9","sqlExpression":null}],"order_bars":false,"reduce_x_ticks":false,"remote_id":744,"row_limit":10000,"schema":"public","show_bar_value":false,"show_controls":false,"show_legend":true,"slice_id":2302,"time_grain_sqla":"P1D","time_range":"Last week","url_params":{},"viz_type":"dist_bar","x_axis_label":"","x_ticks_layout":"auto","y_axis_format":"100","y_axis_label":"","force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}'" dtfy=IYOvpRf9 x="'
|