Hi all,
@ahsanshah , @mistercrunch 
I am not yet able to create my druid average metric in superset.
I have a question regarding the different fields to fill when i create druid 
metric.
![image](https://user-images.githubusercontent.com/14936795/44524144-ad946680-a6dc-11e8-8fc8-067a3a1a1a7a.png)
In the screenshot above could you confirm that i have to put my query to the 
JSON field ?
I know that i have to select my druid Datasource on the dropdown list .
If so, what should i replace the three points at the beginning and at the end 
of my query below ?
{
...
  "aggregations" : [
    { "type" : "count", "name" : "rows" },
    { "type" : "doubleSum", "name" : "tot", "fieldName" : "total" }
  ],
  "postAggregations" : [
    
       { "type"   : "arithmetic",
         "name"   : "div",
         "fn"     : "/",
         "fields" : [
           { "type" : "fieldAccess", "name" : "tot", "fieldName" : "tot" },
           { "type" : "fieldAccess", "name" : "rows", "fieldName" : "rows" }
         ]
       }
  ]
  ...
  }
Why i don't have the metrics which are present in my druid data source?
 I have juste the count(*) metric as shown on the screenshot below.
![image](https://user-images.githubusercontent.com/14936795/44524805-2b597180-a6df-11e8-9d64-e1c34be60a3b.png)
I am new on superset and druid and  i need you help please !!!
Thanks in advance


[ Full content available at: 
https://github.com/apache/incubator-superset/issues/5496 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to