Professional Documents
Culture Documents
API: http://52.172.50.60:5003/get_embed_url
Method: Get
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
“aggdatatype”: “number”,
"groupby": "",
"groupbydatatype":””,
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "employee_master",
"username": "user1@demo.com",
"filters": [
{
"name": "State",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "MA"
}
],
"calculatedfeilds": [
]
"aggcolumns": [
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype":"",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
],
"tablename": "master",
"username": "gurjeet",
"filters": [
"name": "State",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "MA"
],
"calculatedfeilds": [ ]
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":275.0,\"yaxis\":\"EmpID\",\"filterCount\":275,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/1\" frameborder=\"0\"></iframe>"
}
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
“aggdatatype”: “number”,
"groupby": "",
"groupbydatatype":””,
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "employee_master",
"username": "user1@demo.com",
"filters": [
{
"name": "Position",
"filtertype": "multivalue",
"datatype": "string",
}
],
"calculatedfeilds": [
]
}
"aggcolumns": [
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype":"",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
],
"tablename": "master",
"username": "gurjeet",
"filters": [
"name": "Position",
"filtertype": "multivalue",
"datatype": "string",
],
"calculatedfeilds": [
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":4.0,\"yaxis\":\"EmpID\",\"filterCount\":4,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/2\" frameborder=\"0\"></iframe>"
}
Note: Using Tabulation query application can not generate distribution. So I have split
this query into two parts.
Count of Male employees in the company.
Count of Female employees in the company.
Male Employees:
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "Sex",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "M"
}
],
"calculatedfeilds": []
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":133.0,\"yaxis\":\"EmpID\",\"filterCount\":133,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/3\" frameborder=\"0\"></iframe>"
}
Female Employees:
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "Sex",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "F"
}
],
"calculatedfeilds": []
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":177.0,\"yaxis\":\"EmpID\",\"filterCount\":177,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/4\" frameborder=\"0\"></iframe>"
}
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
“aggdatatype”: “number”,
"groupby": "",
"groupbydatatype":””,
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "employee_master",
"username": "user1@demo.com",
"filters": [
{
"name": "ReasonForTerm",
"filtertype": "multivalue",
"datatype": "string",
}
],
"calculatedfeilds": [
]
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype":"",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "TermReason",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "performance"
}
],
"calculatedfeilds": [
]
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":4.0,\"yaxis\":\"EmpID\",\"filterCount\":4,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/5\" frameborder=\"0\"></iframe>"
}
Note: Double quote is not proper for ‘aggdatatype’ and ‘groupbydatatype’ and column names
and their values should be case sensitive.
Below is the changed query.
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "CitizenDesc",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "US Citizen"
}
],
"calculatedfeilds": []
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":294.0,\"yaxis\":\"EmpID\",\"filterCount\":294,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/6\" frameborder=\"0\"></iframe>"
}
Note: Double quote is not proper for ‘aggdatatype’ and ‘groupbydatatype’ and column names
and their values should be case sensitive.
Below is the changed query.
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype":"",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "CitizenDesc",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "US Citizen"
},
{
"name": "Department",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "Sales"
}
],
"calculatedfeilds": [
]
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":29.0,\"yaxis\":\"EmpID\",\"filterCount\":29,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/7\" frameborder=\"0\"></iframe>"
}
Note: Double quote is not proper for ‘aggdatatype’ and ‘groupbydatatype’ and column names
and their values should be case sensitive.
Below is the changed query.
{
"aggcolumns": [
{
"aggregation": "Average",
"aggreagateColumn": "EmpSatisfaction",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "Department",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "Sales"
}
],
"calculatedfeilds": []
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Avera
ge\",\"y\":4.03,\"yaxis\":\"EmpSatisfaction\",\"filterCount\":31,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/8\" frameborder=\"0\"></iframe>"
}
Note: Double quote is not proper for ‘aggdatatype’ and ‘groupbydatatype’ and column names
and their values should be case sensitive.
Below is the changed query.
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "PerformanceScore",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "Exceeds"
}
],
"calculatedfeilds": []
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":37.0,\"yaxis\":\"EmpID\",\"filterCount\":37,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/9\" frameborder=\"0\"></iframe>"
}
{
"aggcolumns": [
{
"aggregation": "Min",
"aggreagateColumn": "EmpSatisfaction",
“aggdatatype”: “number”,
"groupby": "",
"groupbydatatype":””,
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "employee_master",
"username": "user1@demo.com",
"filters": [
],
"calculatedfeilds": [
]
}
Note: Double quote is not proper for ‘aggdatatype’ and ‘groupbydatatype’ and column names
and their values should be case sensitive.
Below is the changed query.
{
"aggcolumns": [
{
"aggregation": "Min",
"aggreagateColumn": "EmpSatisfaction",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
],
"calculatedfeilds": []
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Min\"
,\"y\":1.0,\"yaxis\":\"EmpSatisfaction\",\"filterCount\":310,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/10\" frameborder=\"0\"></iframe>"
}
Note: Using Tabulation query application cannot generate ratio. So I have split this query
into two parts.
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "MaritalDesc",
"aggdatatype": "string",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "Department",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "IT/IS"
},
{
"name": "MaritalDesc",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "Married"
}
],
"calculatedfeilds": []
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":23.0,\"yaxis\":\"MaritalDesc\",\"filterCount\":23,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/11\" frameborder=\"0\"></iframe>"
}
Single:
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "MaritalDesc",
"aggdatatype": "string",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "Department",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "IT/IS"
},
{
"name": "MaritalDesc",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "Single"
}
],
"calculatedfeilds": []
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":21.0,\"yaxis\":\"MaritalDesc\",\"filterCount\":21,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/12\" frameborder=\"0\"></iframe>"
}
11. What is the maximum aged person in the position of production manager?
{
"aggcolumns": [
{
"aggregation": "Max",
"aggreagateColumn": "employee_age",
“aggdatatype”: “number”,
"groupby": "",
"groupbydatatype":””,
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "employee_master",
"username": "user1@demo.com",
"filters": [
{
"name": "Position",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "Production Manager"
}
],
"calculatedfeilds": [
]
}
Note: Double quote is not proper for ‘aggdatatype’ and ‘groupbydatatype’ and column names
and their values should be case sensitive.
Employee age column not available in the dataset. So we need to create custom filed in
calculation section and assigned in y -axis.
Below is the changed query.
{
"aggcolumns": [
{
"aggregation": "Max",
"aggreagateColumn": "Age",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "Department",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "Production"
}
],
"calculatedfeilds": [
{
"name": "Age",
"fieldsused": "DOB",
"formula": "dateDiff('Year',\"DOB\",now())"
}
]
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Max\"
,\"y\":50.0,\"yaxis\":\"Age\",\"filterCount\":208,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/13\" frameborder=\"0\"></iframe>"
}
Note: Double quote is not proper for ‘aggdatatype’ and ‘groupbydatatype’ and column names
and their values should be case sensitive.
Employee age column not available in the dataset. so we need to create custom filed in
calculation section and assigned in y -axis.
Network Engineer Dept is not available in the dataset, so consider Sales dept.
Below is the changed query.
{
"aggcolumns": [
{
"aggregation": "Average",
"aggreagateColumn": "Age",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "Department",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "Sales"
}
],
"calculatedfeilds": [
{
"name": "Age",
"fieldsused": "DOB",
"formula": "dateDiff('Year',\"DOB\",now())"
}
]
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Avera
ge\",\"y\":40.03,\"yaxis\":\"Age\",\"filterCount\":31,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/14\" frameborder=\"0\"></iframe>"
}
13. How many employees are above the age of 50 in the IT department?
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
“aggdatatype”: “number”,
"groupby": "",
"groupbydatatype":””,
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "employee_master",
"username": "user1@demo.com",
"filters": [
{
"name": "Age",
"filtertype": "range",
"datatype": "number",
"fromRange": 50,
"toRange":
},
{
"name": "Department",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "IT"
}
],
"calculatedfeilds": [
]
}
Note: Double quote is not proper for ‘aggdatatype’ and ‘groupbydatatype’ and column names
and their values should be case sensitive.
Employee age column not available in the dataset. So we need to create custom filed in
calculation section and assigned in y -axis.
Below is the changed query.
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "Age",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "Age",
"filtertype": "multivalue",
"datatype": "number",
"fromRange": 50,
"toRange": 100
},
{
"name": "Department",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "IT/IS"
}
],
"calculatedfeilds": [
{
"name": "Age",
"fieldsused": "DOB",
"formula": "dateDiff('Year',\"DOB\",now())"
}
]
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":9.0,\"yaxis\":\"Age\",\"filterCount\":9,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/15\" frameborder=\"0\"></iframe>"
}
14. How many people were late to the office for more than one day in the past
month?
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
“aggdatatype”: “number”,
"groupby": "",
"groupbydatatype":””,
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "employee_master",
"username": "user1@demo.com",
"filters": [
{
"name": "DaysLateLast30",
"filtertype": "range",
"datatype": "number",
"fromRange": 1,
"toRange": 5
}
],
"calculatedfeilds": [
]
}
Note: Double quote is not proper for ‘aggdatatype’ and ‘groupbydatatype’ and column names
and their values should be case sensitive.
Below is the changed query.
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "DaysLateLast30",
"filtertype": "range",
"datatype": "number",
"fromRange": 1,
"toRange": 100
}
],
"calculatedfeilds": [
]
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":0.0,\"yaxis\":\"EmpID\",\"filterCount\":0,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/16\" frameborder=\"0\"></iframe>"
}
15. How many employees are working on more than 4 special projects
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
“aggdatatype”: “number”,
"groupby": "",
"groupbydatatype":””,
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "employee_master",
"username": "user1@demo.com",
"filters": [
{
"name": "SpecialProjectCount",
"filtertype": "range",
"datatype": "number",
"fromRange": 4,
"toRange": 10
}
],
"calculatedfeilds": [
]
}
Note: Double quote is not proper for ‘aggdatatype’ and ‘groupbydatatype’ and column names
and their values should be case sensitive.
Below is the changed query.
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "SpecialProjectsCount",
"filtertype": "range",
"datatype": "number",
"fromRange": 4,
"toRange": 9
}
],
"calculatedfeilds": [
]
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":65.0,\"yaxis\":\"EmpID\",\"filterCount\":65,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/17\" frameborder=\"0\"></iframe>"
}
16. Who are the employees who were late to the office more than once in the last 30
days?
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
“aggdatatype”: “number”,
"groupby": "",
"groupbydatatype":””,
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "employee_master",
"username": "user1@demo.com",
"filters": [
{
"name": "DaysLateLast30",
"filtertype": "range",
"datatype": "number",
"fromRange": 1,
"toRange": 5
}
],
"calculatedfeilds": [
]
}
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "RecruitmentSource",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "Monster.com"
}
],
"calculatedfeilds": [
]
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":24.0,\"yaxis\":\"EmpID\",\"filterCount\":24,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/18\" frameborder=\"0\"></iframe>"
}
Note: Double quote is not proper for ‘aggdatatype’ and ‘groupbydatatype’ and column names
and their values should be case sensitive.
Below is the changed query.
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "HispanicLatino",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "Yes"
}
],
"calculatedfeilds": [
]
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":27.0,\"yaxis\":\"EmpID\",\"filterCount\":27,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/19\" frameborder=\"0\"></iframe>"
}
Note: Double quote is not proper for ‘aggdatatype’ and ‘groupbydatatype’ and column names
and their values should be case sensitive.
Below is the changed query.
{
"aggcolumns": [
{
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
}
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "DateofTermination",
"filtertype": "regexp",
"datatype": "date",
"fromRange": "2020-01-03 00:00:00",
"toRange": "2020-02-03 23:59:59"
}
],
"calculatedfeilds": []
}
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":0.0,\"yaxis\":\"EmpID\",\"filterCount\":0,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/20\" frameborder=\"0\"></iframe>"
}
Note: Double quote is not proper for ‘aggdatatype’ and ‘groupbydatatype’ and column names
and their values should be case sensitive.
Below is the changed query.
"aggcolumns": [
"aggregation": "Countall",
"aggreagateColumn": "EmpID",
"aggdatatype": "number",
"groupby": "",
"groupbydatatype": "",
"legend": "",
"orderby": "",
"limit": "",
"ordertype": ""
],
"tablename": "master",
"username": "gurjeet",
"filters": [
{
"name": "Department",
"filtertype": "multivalue",
"datatype": "string",
"filtervalue": "IT/IS"
],
"calculatedfeilds": [
Output: It display both data information as well as iframe URL link. If user want to capture
plain text value, this is available at y. I have highlighted in the below.
{
"data": "[{\"displayname\":null,\"turboThreshold\":50000,\"name\":null,\"aggType\":\"Count
all\",\"y\":50.0,\"yaxis\":\"EmpID\",\"filterCount\":50,\"numberformat\":\"#.##\"}]",
"EmbedUrl": "<iframe width=\"100%\" height=\"800\" src=\"http://52.172.50.60:8080/Bird/pub
lic?cid=1#embeddedreport/22\" frameborder=\"0\"></iframe>"
}