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

Quickly get started with sample beverage data in Nexadata—setup, exploration, and key tips included.

Quin Eddy avatar
Written by Quin Eddy
Updated over a month 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. Enter the required connection details based on the selected option. In the example below, we are using Nexadata File Manager, which does not require credentials.

  5. When complete, Submit the connection for validation.

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

Step #2 - Create a Dataset

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

  2. Provide a unique Name for the data source

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

  4. For the Data Format, see that the default format is Tabular.

  5. For the Delimiter, change the setting to Tab.

  6. When the option appears, choose Choose Existing File.
    (Note that each Nexadata organization comes with some sample files.)

  7. Choose the file "SIMPLE_FACT.txt".

  8. When a file is selected, click Submit to complete the step of creating a Dataset.

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

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

Step #3 - Create a Pipeline

  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 Mapping Group

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

  2. Enter a unique name for the mapping group.

  3. Add the first rule:

    • Map all 100-level product families to "Colas."

    • Use the Exact Match option, entering "100" under From and "Colas" under To.

  4. Add the second rule to map everything that is not "Colas" to "Non Colas":

    • Click Add Rule.

    • Select Not Exact as the map type.

    • Enter "Colas" under From and "Non Colas" under To.

  5. Click Save to save the mapping group.

Step #5 - Add a Mapping Group to a Pipeline

  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 to 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, provide a Transformation Name, and select the Column to which mapping should be applied. In this case, choose "SKU_Family".

  8. Click the cycle button to preview rule changes and see the impact of the Mapping Group.

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

  10. The impact of the Mapping Group is highlighted with purple column headers.

Step #6 - Apply conditions to a map

  1. Open the Mapping Group created in step #4 (Build → Mapping Groups)

  2. Click Add Column, and in the Name field, enter Year.
    (Notice that a new Conditions column will appear in the Mapping Group editor.)

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

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

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

  6. Remove the default condition and then save the condition.

  7. Save the updated Mapping Group.

  8. To view the results of the conditions, return to the Pipeline created in step #3.

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

  1. While the previous pipeline remains open, navigate to the last step.

  2. Add an Advanced Transformation.

    • Transformation Type: Select Rename.

    • Name: Rename SKU Family

    • Column: SKU_Family

    • New Column Name: Product Family

  3. Add another Advanced Transformation: Group By.

    • Name: Sum Product Family

    • Columns: Product Family, Year

    • Aggregation Function: Sum

    • Aggregation Column: DATA

    • New Column Name: Sum DATA

👍 Try it on your own: Replace the last transformation in the Pipeline and use natural language with this prompt:

Group by year and Product family and sum the DATA column, creating a new column called Sum Data

Do you get the same results?

Step #8 - Execute the Pipeline

  1. From the Nexadata home screen, navigate to Build → Pipeline.

  2. Select the Pipeline you have been building as part of this tutorial.

  3. Once the Pipeline opens, click Execute.

  4. When prompted to select a dataset, choose Use Default Dataset to follow along with this tutorial.

  5. Click Start Pipeline to begin transforming the data.

  6. In less than a second, the Pipeline will complete. Download the output data and open it with your preferred editor to review the results.

This tutorial is complete. Welcome to Nexadata!

Did this answer your question?