Blog Posts BPMN DMN

Add CSV datasets for authoring dashboards

Blog: Drools & jBPM Blog

Dashboards are essential information management tools that play an important role in business automation by providing at a glance awareness into complex business data with the help of visualizations involving key performance indicators(KPIs), metrics, and other key data points related to business or specific processes.

DashBuilder is a standalone tool that is also integrated into Business Central to be used by the Datasets editor and Content Manager page for creating dashboards and reporting.

When it comes to building dashboards, you can configure the dashboards to consume your own datasets in DashBuilder from a variety of sources like Bean, CSV, SQL, Prometheus, Elastic Search, Kafka, and Execution server. In this post, you will learn how to add and configure a CSV dataset for your dashboards.

Add and configure CSV datasets on DashBuilder

  1. Log in to DashBuilder. You will see the homepage which resembles the screen below.
DashBuilder Home page
  1. In order to add a dataset, select Datasets from the menu. Alternatively, you can also click on the “Menu” dropdown on the top left corner beside the DashBuilder logo on the navigation bar. You will now see two headings, DashBuilder and Administration. Click on “Datasets” under Administration. You will see the Dataset Authoring home page with instructions to add datasets, create displayers and new dashboards.
Data Set Authoring Home page
  1. Now, you can either click on the “New Data Set” on the top left corner beside “Data Set Explorer” or click on the “new data set” hyperlink in Step 1. You will now see a Data Set creation wizard screen that shows all dataset providers like Bean, CSV, SQL, Elastic Search, and so on.
Data Set Creation Wizard Page
  1. Select “CSV” from the list of provider types. You will now see the following screen to add your CSV data sets with a form that asks you to add details about the CSV data set like Name, separator characters, Quote characters and so on.
CSV Settings page
  1. In the CSV configuration tab, the first field is UUID, which stands for the data set’s Enter a name for your data set against the “Name” field, which will help you identify your data set while adding components. For the file path, for selecting a file from your system, click on the icon on the right side of the textbox against “File path” and select the CSV file from your system, don’t forget to click on the upload button to the right of the icon, after selecting the CSV file. Alternatively, you can also switch to the remote URL mode and enter the path to the CSV file.
Upload files from your system using the CSV configuration tab

Similarly, edit the separator characters(the characters used to separate the values in your CSV), quote character(the character used for quotes in your CSV), escape character(the character used for escaping values in your CSV), date pattern, and number pattern. If you are confused about the role of characters, please hover on the question mark icons beside the fields or the text boxes adjacent to them. Click on Test to preview your dataset.

  1. You are now on the Preview tab. You can now have a look at the data columns and add filters in the tabs above the dataset. You can also delete the columns that you don’t require by unchecking the checkbox beside the columns provided on the left side. If the preview isn’t what you expected, you can switch back to the CSV configuration tab and make changes. If you are satisfied with the preview, click on the “Next” button.
Preview tab in Data Set creation wizard
  1. Enter required comments in the Save modal and click on the Save button.

Your dataset has been added and configured. You will now be directed back to the Data Set Authoring Home page. You can now see a dataset on the left pane. When you add multiple datasets, you can see the list of all of them on the left pane. Here is a screen recording of the full flow.

Adding and configuring CSV datasets on DashBuilder

You can now click on the Menu dropdown on the navigation bar and select Content Manager to create pages and dashboards.

Conclusion

In this post, we walked you through steps to add and configure CSV datasets to be consumed by your dashboards. In the upcoming posts, we will add walkthroughs of the other dataset providers, so stay tuned!

The post Add CSV datasets for authoring dashboards appeared first on KIE Community.

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="https://www.businessprocessincubator.com/content/add-csv-datasets-for-authoring-dashboards/?feed=html" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples

BPMN.org

XPDL.org

×