Apply database functions to fields in an Adhoc report to transform, format, extract or manipulate text, numeric, date and date-time values.

For example, you can convert a date to its year, change text to uppercase, or round a number to a set number of decimal places. The functions available depend on the database you are connected to.

1. Apply a Database Function

This example applies YEAR() to the travel_date field.

Step 1: Add a field to the report

  • Open the Reports module.
  • Select the table and field from the field list on the left.
  • Drag the field into the Rows or Columns section. Here, drag travel_date into Rows.

How to Apply and Remove Database Functions in Helical Insight

Step 2: Open the Functions window

  • Click the field you want to change.
  • Click Functions.

The window lets you search for a function or pick one from the list. Use the Data Type, Functions and Fields tabs to browse options.

How to Apply and Remove Database Functions in Helical Insight

Step 3: Select or enter the function

Search for the function in “Search for functions”, or select a function from the list. The list displays the functions available for the data type of the selected field.

  • Specify the field the function applies to.
  • Add any extra parameters the function needs.
  • Click Save.

To extract the year from travel_date, enter:

YEAR(travel_date)

The panel shows the function’s value, signature and description, so you can confirm it does what you expect.

How to Apply and Remove Database Functions in Helical Insight

Step 4: Generate the report

Click Generate Report. The report now shows the transformed value.

Before:

2015-10-21 14:58:00.0

2015-07-22 08:31:00.0

2015-03-09 16:57:00.0

After:

2015

2015

2015

How to Apply and Remove Database Functions in Helical Insight

2. Function Examples

The functions available vary with the connected database.

Data type Function Example Purpose
Date / date-time YEAR YEAR(travel_date) Extracts the year
Date / date-time MONTH MONTH(travel_date) Extracts the month
Text UPPER UPPER(travel_medium) Converts text to uppercase
Numeric ROUND ROUND(travel_cost, 2) Rounds to a set number of decimals
Numeric FLOOR FLOOR(travel_cost) Returns the largest integer not greater than the value
Numeric MOD MOD(travel_cost, 10) Returns the remainder
Conversion CAST CAST(travel_cost AS ...) Converts a value to another data type

Note: Syntax and availability of functions vary with the database driver or dialect configured in Helical Insight. Helical Insight also supports nested functions, where one function works on the result of another.

3. Delete an Applied Function

Step 1: Select the field

Click the field that has the function, for example travel_date with YEAR(travel_date) applied.

Step 2: Open Functions

Click Functions. The window shows the function currently applied to the field.

Step 3: Remove the function

  • Select the applied function.
  • Clear the function configuration.
  • How to Apply and Remove Database Functions in Helical Insight

  • Confirm it is no longer applied.
  • Click Save.

Step 4: Generate the report

Click Generate Report. The original values return.

Figure 5. Original date-time values restored after removing the function.

How to Apply and Remove Database Functions in Helical Insight

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