In our earlier articles, we have talked about how to connect single datasource using Helical Insight. This article talks about how to connect multiple datasources using Helical Insight v1.0.1 .In this case we have referred CSV and MySQL as a datasources.

Steps:

    1. Create a folder inside HI Repository. In this case, we have created a folder named “MySQL CSV datasource”.
      C:\Helical Insight\hi-repository\MySQL CSV datasource

    1. Inside this folder create another folder and save the CSV inside it. In this case, we have created a folder named “CSV”.
      C:\Helical Insight\hi-repository\MySQL CSV datasoure\CSV

      csv-folder-creation

    2. Place the CSV which you intend to use in this folder. Please make sure that the CSV which you are putting is having datatype defined in the header.
    3.  

      Datatype format to use in a CSV :

      Column_Name : Datatype_Name

       

      For example, refer to the below in which datatype has been added into the header of CSV.

csv-view

Column:DataytpeColumn:DataytpeColumn:Dataytpe
Client :stringVendor:stringReason:string
Timeline:dateFollowUP:dateMeeting_Agenda:string
Meeting_Impact:stringOwner:stringDoJ:date
Status:stringJourney_Type:stringCancellation_Reason:string
Travel_Type:stringSource:stringCancellation:string
Destination:stringCost:doubleAge:int
MOP:stringTicket_by:stringTravelled_by:string
    1. After that create a MySQL-CSV-Model JSON file.

mysql-csv-json-model

inline: {
  version: '1.0',
  defaultSchema: 'MySQL CSV',
  schemas: [
    {
        name: 'Travel csv',
        type: 'custom',
        factory: 'org.apache.calcite.adapter.csv.CsvSchemaFactory',
        operand: {
            directory: 'C:/Helical Insight/hi-repository/MySQL CSV datasource'
          }
    },
    {
        name: 'Sample Mysql',
        type: 'custom',
        factory: 'org.apache.calcite.adapter.jdbc.JdbcSchema$Factory',
        operand: {
            jdbcDriver: 'com.mysql.jdbc.Driver',
            jdbcUrl: 'jdbc:mysql://localhost:3307/SampleTravelData?connectTimeout=10000',
            jdbcUser: 'hiuser',
            jdbcPassword: 'hiuser'
        }
    }
  ]
}

We can enlist as many datasources over here as we want. Since we want to use CSV with MySQL and join them and do certain analysis, two of them have been defined.

    1. After that create an EFWD (database connection file) file in
      C:\Helical Insight\hi-repository\MySQL CSV Datasource

      mysql-csv-datasource

      <EFWD>
          <DataSources>
              <Connection id="1" name="MySQL CSV Datasource" type="sql.calcite">
                  <model>MySQL CSV datasource/csv-model.json</model>
      	       <driverName>org.apache.calcite.jdbc.Driver</driverName>
              </Connection>
           </DataSources>
      </EFWD>

 

  1. Once the EFWD file is created it will start listing in the Virtual Data Source listing.

 

Following are the steps to create Report using created Datasource :

    1. Go to Metadata

    1. Select Datasource Type. In this case datasource type is “Virtual Datasource”.

    1. Select the datasource

    1. Select the Schemas from the list and then click “Next”. Schemas contain the list of databases.

metadata-workflow-catalog

    1. Select the required table from the list which will be used for reporting purpose and then click “Next”.

custom-table-selection

    1. Now, select the required columns from the list and then click “Next”. Here, columns will be displayed based on the table selection.

custom-column-selection

  1. After clicking “Next” a metadata view page will be displayed. In a metadata mode various activities includes such as Table/Column Aliasing, define joins, define views and apply metadata security on table/column.

  2. Now, define required joins/views between the tables and then click Save.
  3. Thus, users can now go to the ad-hoc report interface, connect to this above created metadata and create reports.

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

Leave a Reply

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