This blog gives details about the filter expressions that can be used in the dynamic query view on the metadata page of Helical Insight.

Dynamic queries allow the report level filters to be used in the view to generate the query based on those filters.

Filters can be accessed by using the ${filter} notation.

Filter has many properties like filter label,mode,condition,value etc based on which user can create dynamic view based upon the requirement and the logic.

Below mentioned image shows the output of the different expressions:

Filter Expressions

Expression formData
Description Filter returns the filter component including all filters used in adhoc report along with its filter information.

 

 

 

 

 

 

 

 

 

 

 

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

Formdata is :

"filters": [
		{
			"values": [
				"Agent"
			],
			"mode": "auto",
			"dataType": "java.lang.String",
			"orderBy": "",
			"isFilterEditable": false,
			"encloseInQuotes": false,
			"dateTimeToggle": false,
			"label": "booking_platform",
			"column": "HIUSER.FilterDynamicView.booking_platform",
			"rangeValuesType": "",
			"id": 0,
			"condition": "EQUALS",
			"valuesRange": {},
			"rangeSelectionToggole": true
		},
		{
			"values": [
				"Agra"
			],
			"mode": "auto",
			"dataType": "java.lang.String",
			"orderBy": "",
			"isFilterEditable": false,
			"encloseInQuotes": false,
			"dateTimeToggle": false,
			"label": "destination",
			"column": "HIUSER.FilterDynamicView.destination",
			"rangeValuesType": "",
			"id": 1,
			"condition": "EQUALS",
			"valuesRange": {},
			"rangeSelectionToggole": true
		}
	]

For Ex. return filters

 

Output:
[{
	fullyQualifiedColumn="FilterDynamicView"."booking_platform",
	column="booking_platform",
	condition==,
	isCustomCondition=false,
	dataType=java.lang.String,
	custom=null,
	value='Agent',
	values=[Agent],
	isCustomValue=false,
	id=0,
	label=booking_platform,
	mode=auto
}

,
{
	fullyQualifiedColumn="FilterDynamicView"."destination",
	column="destination",
	condition==,
	isCustomCondition=false,
	dataType=java.lang.String,
	custom=null,
	value='Agra',
	values=[Agra],
	isCustomValue=false,
	id=1,
	label=destination,
	mode=auto
}]

 

It returns filters component with all filter information.

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

Example :return filters.fullyQualifiedColumn

Output:

["FilterDynamicView"."booking_platform",
"FilterDynamicView"."destination"]

This way end user can utilize required filters information.

FILTER EXPRESSIONS

    1. {filter}.label
Expression ${filter}.label
Description With this filter expression in dynamic view, runtime will provide comma separated list of all the filter labels present in report.

 

 

Note : We need to give filter expression in double quotes with return statement.

For Ex. return “${filter}.label”

Output : booking_platform,destination

    1. {filter}.id
Expression ${filter}.id
Description With this filter expression in dynamic view, runtime will provide comma separated list of all the filter id’s present in report.
The id starts from the 0 and ends with n-1 filters.

 

Note : We need to give filter expression in double quotes with return statement.

For Ex. return “${filter}.id”

Output :0,1

    1. {filter}.column
Expression ${filter}.column
Description With this filter expression in dynamic view,runtime will provide comma separated list of all the filter column. This gives only the column name.

 

Note : We need to give filter expression in double quotes with return statement.

For Ex. return “${filter}.column”

Output : “booking_platform”,”destination”

    1. {filter}.fullyQualifiedColumn
Expression ${filter}.fullyQualifiedColumn
Description With this filter expression in dynamic view,runtime will provide comma separated list of all qualified column. The qualified column has “catalog.schema.table.column” pattern

 

Note : We need to give filter expression in double quotes with return statement.

For Ex. return “${filter}.fullyQualifiedColumn”

Output :”FilterDynamicView”.”booking_platform”,”FilterDynamicView”.”destination”

    1. {filter}.values
Expression ${filter}.values
Description With this filter expression in dynamic view,runtime will provide comma separated listof all the filter values as an array notation. The values are quoted when the value is text/date and not quoted when value is number.

 

Note : We need to give filter expression in double quotes with return statement.

For Ex. return ” ${filter}.values”

Output : [‘Agent’,’Agra’]

    1. {filter}.value
Expression ${filter}.value
Description With this filter expression in dynamic view,runtime will provide comma separated list of all the filter values are not in array notation. The values are quoted when the value is text/date and not quoted when number

 

Note : We need to give filter expression in double quotes with return statement.

For Ex. return ” ${filter}.value”

Output : ‘Agent’,’Agra’

    1. {filter}.mode
Expression ${filter}.mode
Description With this filter expression in dynamic view,runtime will provide comma separated list of all the filter mode. The mode is either auto or custom.

 

Note : We need to give filter expression in double quotes with return statement.

For Ex. return ” ${filter}.mode”

Output : auto,auto

    1. {filter}.condition
Expression ${filter}.condition
Description With this filter expression in dynamic view,runtime will provide comma separated list of of all the filter condition.
The condtion may be = (equals), <> (not equals) , in (is one of ),not in( is not one of ) etc

 

Note : We need to give filter expression in double quotes with return statement.

For Ex. return ” ${filter}.condition”

Output : =,=

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