Skip to main content
All CollectionsGetting Started with Nexadata
Quick Start Guide: Working with Sample Beverage Data in Nexadata
Quick Start Guide: Working with Sample Beverage Data in Nexadata
Quin Eddy avatar
Written by Quin Eddy
Updated over a week ago

In this Quick Start Guide (QSG), you'll explore how to use Nexadata’s powerful tools to connect, transform, and analyze a sample beverage sales data set. The goal is to understand how cola and non-cola products are performing across different states. Throughout this guide, you will learn how to create a data connection, build a data pipeline, set up mapping groups, and run the pipeline to view the results. You will also experience using both Nexadata’s natural language interface and advanced mode to process the data. While this guide covers a simple example, Nexadata has the capacity to handle much larger datasets, connect to various data sources, and apply complex transformations to help you manage your data more efficiently.

Step #1 - Create a Connection

  1. From the Nexadata home screen, select Create a Connection

  2. Provide a unique Name for the data connection.

  3. Select the Connection Type from the list of available options.

  4. Based on the selected option, enter the required connection details.

  5. When complete, Submit the connection for validation.

  6. To view and edit the created connection, select it from the Setup → Connections dropdown.

Step #2 - Create a Data Source

  1. From the Nexadata home screen, select Connect to a Data Source

  2. Provide a unique Name for the data source

  3. Select the Data Connection created in the previous step.

  4. In the Data Format, change the delimiter to Tab.

  5. Enter the S3 Bucket name.

  6. Enter the S3 Path.

  7. Click Submit when each field has been entered.

  8. To view and edit the created data source, select it from the Setup → Datasets dropdown.

👍 Each field will automatically search and filter for a match.

👍 Select the Setup Dataset to return to the editing interface.

Step #3 - Create a Pipeline (Part 1)

  1. From the Nexadata home screen, select Create a Pipeline.

  2. Provide a unique Name for the pipeline and optionally add a description.

  3. Select the Data Source created in the previous step and see the right-hand grid populate.

  4. Click the Transform button and, using natural language, describe the transformation you'd like to perform.

    1. Filter the Measures column where the value is Sales

  5. Add the following additional transformations:

    1. Filter the Scenario column where the value is Budget

    2. Split the Product column with a '-' delimiter and name the new columns SKU_Family and SKU_Number

Step #4 - Create a Map

  1. From the Nexadata home screen, select Create a Mapping Group.

  2. Provide a unique Name for the mapping group.

  3. Add the first Rule to map all 100-level product families to "Colas"

  4. Add the second Rule to map everything that is not "Colas" to "Non Colas". This is done with a Regex statement with the following syntax: [^Colas].*

  5. Click the Save button to save the Mapping Group

Step #5 - Create a Pipeline (Part 2)

  1. From the Nexadata home screen, select Build → Pipeline.

  2. Choose the Pipeline that you have been building in this tutorial.

  3. Select the last step in the Pipeline.

  4. Add a new step in the Pipeline by clicking on Mapping.

  5. Select the option to Use Existing Mapping Group.

  6. Choose the Mapping Group created in the previous step.

  7. Click Next and provide a Transformation Name and select the Colum to apply mapping. In this case, choose SKU_Family.

  8. Save the Transformation and see the impact of the Mapping Group.

Step #6 - Create a Conditional Map (Part 3)

  1. While the previous pipeline is still open, edit the Colas Mapping created in the previous step.

  2. Add a condition to the first map in the Mapping Group.

  3. Create a condition in AI Mode by using the ⚡️ button.

  4. Enter a condition in natural language such as: When Year column is Jan.

  5. Remove the default condition and save the condition.

  6. Save the updated Mapping Group in the pipeline.

  7. See that the mapping now only applies to month(s) that meet the condition.

Step #7 - Use Advanced Mode and add some additional transformations

  1. While the previous pipeline is still open, select the last step of the pipeline.

  2. Add an Advanced transformation.

  3. For Transformation Type, select Rename.

    1. Name: Rename SKU Famiily

    2. Column: SKU_Family,

    3. New Column Name: Product Family

  4. Add an additional advanced transformation, Group By.

    1. Name: Sum Product Family

    2. Columns: Product Family and Year

    3. Aggregation Function: Sum

    4. Aggregation Column: DATA

    5. New Column Name: Sum DATA

This tutorial is complete. Welcome to Nexadata!

Did this answer your question?