In this blog, we have given details of all the formData expressions that can be used in the dynamic query view.

Dynamic query essentially implies that the query is generated at runtime depending on the user inputs.This can be achieved by adding a dynamic logic/groovy script using which end user can use the filters, formdata expressions and groovy user session variables on runtime.

Adhoc report can be created using metadata with dynamic view where in report inputs will be taken from either metadata or from report or from both.

A report with dynamic view gives the better query performance in report along with runtime sql query execution.

formData contains adhoc report formdata with all details of report, metadata, tables, colums, filters info etc. used in adhoc report.

formdata encoding

formdata decoding

Expression formData
Description formData returns adhoc report formdata with all details of report ,metadata,tables.colums,filters info etc. used in adhoc report.

With (.) dot notation end user can fetch required information from formData.

For Ex. return formData

In adhoc report ,based on the created report it will return the respective formdata.

Output:

{
	"location": "1592388157915",
"metadataFileName": "fa1cb41d-7c8a-43d2-a0a9-8f40b44ad213.metadata", "metadataName": "TravelMetadata",
"metadataDir": "Role Viewer", "columns": [ { "column": "HIUSER.dynamic View.destination", "alias": "dynamic View_destination"
}], "functions": { "groupBy": []},
"filters": [{ "values": [ "Agent"], "mode": "auto", "dataType": "java.lang.String", "orderBy": "",
"isFilterEditable": false, "encloseInQuotes": false, "dateTimeToggle": false, "label": "dynamic View_booking_platform", "column": "HIUSER.dynamic View.booking_platform", "rangeValuesType": "", "id": 0, "condition": "EQUALS", "valuesRange": {}, "rangeSelectionToggole": true }], "customFilterExpression": "${0}",
"limitBy": 1000, "prependTableNameToAlias": true,
"requestId": "HJeBlEqT8", "metadataFileJson": { "type": "db.generic", "databaseType": "Apache Derby 10.12.1.1 - (1704137)", "fileName": "TravelMetadata", "connectionType": "global.jdbc",
"visible": "true", "connectionDetails": { "connectionType": "global.jdbc", "dialect": "org.hibernate.dialect.DerbyTenSevenDialect", "connectionId": "1", "driverClass": {
"reference": "derby", "driverClass": "org.apache.derby.jdbc.AutoloadedDriver" }, "subType": "dynamicDataSource"}, "database": { "name": "HIUSER", "catalog": "",
"schema": "HIUSER", "tables": { "tableList": [ {"id": "8a28627d07d04ef096d9935f12e0c7e9",
"name": "travel_details", "aliasName": "travel_details", "columns": { "column": [{ "name": "travel_id", "id": "1667e095-daee-4b6a-886c-c54f28ff5658", "aliasName": "travel_id", "type": "java.lang.Integer", "defaultFunction": "db.generic.aggregate.sum" }]}}]}, "relationships": {},
"views": { "viewList": [ { "id": "8b08f2fa-7c72-426c-91ac-3654f96f1838", "name": "dynamic View", "alias": "dynamic View", "hasStoredProcedure": false, "query": {"query": "if( hasFilters())\n{\nreturn formData\n}\nelse\n{\n\nreturn \"select * from \\\"travel_details\\\"\"\n} ", "type": "groovy"}}]}}, "security": { "createdBy": "1", "organization": "" }}, "duplicateTableMap": {}, "duplicateOriginalMap": {},
"classifier": "db.generic", "queryGeneratorImplementation": "com.helicalinsight.adhoc.genericsql.GenericSqlQueryGenerator", "componentJson": {
"@class": "com.helicalinsight.adhoc.DatabaseQueryGenerator", "@classifier": "db.generic, db.calcite, db.workflow, db.noSql" }, "selectedColumnsMap": { "dynamic View_booking_platform": "dynamic View.booking_platform", "dynamic View_destination": "dynamic View.destination" }}

It returns formdata data in json format.

Note : formdata specific information can be retrieved by (.) dot notation.

Example : return formData.location
Output :

1463377807724/1463377836985/1591703058466

This way end user can utilize required formdata information.

For further assistance, kindly contact us on support@helicalinsight.com or post your queries at Helical Forum

Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered