Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Applies to: (tick) Kyvos Enterprise  (tick) Kyvos Cloud (SaaS on AWS) (tick) Kyvos AWS Marketplace

(tick) Kyvos Azure Marketplace   (tick) Kyvos GCP Marketplace (tick) Kyvos Single Node Installation (Kyvos SNI)

...

Once you have datasets, you can create relationships among the different datasets. 

...

Step 1: Adding a dataset 
In this step, you add a dataset. See Creating a dataset for more details. 

Step 2: Creating a relationship 
In this step, you drag a field onto another field to connect the fields and create a relationship. 

Aura tab collection
paramsJTdCJTIyZ2VuZXJhbCUyMiUzQSU3QiUyMnRhYlNwYWNpbmclMjIlM0EwJTJDJTIydGFiV2lkdGglMjIlM0ExMDAlMkMlMjJ0YWJIZWlnaHQlMjIlM0E1MCUyQyUyMmRpcmVjdGlvbiUyMiUzQSUyMmhvcml6b250YWwlMjIlN0QlMkMlMjJjb250ZW50JTIyJTNBJTdCJTIyYmFja2dyb3VuZENvbG9yJTIyJTNBJTdCJTIyY29sb3IlMjIlM0ElMjIlMjNmZmYlMjIlN0QlMkMlMjJib3JkZXIlMjIlM0ElN0IlMjJzdHlsZSUyMiUzQSUyMnNvbGlkJTIyJTJDJTIyd2lkdGglMjIlM0ExJTJDJTIydG9wJTIyJTNBdHJ1ZSUyQyUyMmJvdHRvbSUyMiUzQXRydWUlMkMlMjJsZWZ0JTIyJTNBdHJ1ZSUyQyUyMnJpZ2h0JTIyJTNBdHJ1ZSUyQyUyMmNvbG9yJTIyJTNBJTdCJTIybGlnaHQlMjIlM0ElMjIlMjNjY2NlY2YlMjIlN0QlN0QlMkMlMjJwYWRkaW5nJTIyJTNBJTdCJTIydG9wJTIyJTNBMTAlMkMlMjJyaWdodCUyMiUzQTEwJTJDJTIyYm90dG9tJTIyJTNBMTAlMkMlMjJsZWZ0JTIyJTNBMTAlN0QlN0QlMkMlMjJhY3RpdmUlMjIlM0ElN0IlMjJiYWNrZ3JvdW5kQ29sb3IlMjIlM0ElN0IlMjJjb2xvciUy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zQSUyMnNvbGlkJTIyJTJDJTIyY29sb3IlMjIlM0ElN0IlMjJsaWdodCUyMiUzQSUyMiUyM2NjY2VjZiUyMiU3RCU3RCU3RCU3RA==
Aura tab
summaryAdding a dataset
paramsJTdCJTIydGl0bGUlMjIlM0ElMjJBZGRpbmclMjBhJTIwZGF0YXNldCUyMiU3RA==

You can expand the folders in these panels or use Search to quickly find the dataset you are seeking. 

To add a dataset, perform the following steps: 

  1. From the Toolbox, select Relationships.

  2. Click the Actions menu (     )  at the top of the Relationships column and click Add Relationship.
    Or type a name of a file or folder to search for in the Search box. 

  3. In the left pane, select Datasets and drag more than one file onto the workspace 

Note

Refer to the File sources supported for creating relationships and cubes section to learn more about the sources from where you can pick files for the relationship.

  1. Drag a field to map it to a field in a different node to create a relationship.

  2. Click the line to view the relationship details.

Add a dataset

image-20240702-044605.pngImage Added
Aura tab
summaryCreating a relationship
paramsJTdCJTIydGl0bGUlMjIlM0ElMjJDcmVhdGluZyUyMGElMjByZWxhdGlvbnNoaXAlMjIlN0Q=

To create a relationship, perform the following steps. 

  1. Drag a field onto another field to connect the fields and create a relationship. For example, you may want to create a relation between a field named Country in one dataset with a field named Nation from another. 

  2. Ensure that the two fields need to be the same type. 

  3. You can't create a relationship between a numeric field of Country Code and a text field of Country Name, for example.

You can also drag the datasets around in the window, and you can drag the property panes and other onscreen elements around to organize them in a way that works for you. 

Relationship page 

image-20240702-044733.pngImage Added

Many-to-many relationships

While designing a relationship, you can create a many-to-many relationship between a Fact and a Dimension. See Working with many-to-many relationships.

Info

Note

To use any of the facts or dimensions from a many-to-many dataset, you must create a bridge dimension in the semantic model Physical view.

Properties

In the Properties pane, you can do the following:

...

In the Relationships pane, you can view or change the relation type. For example, you can change from one-to-many to many-to-many by clicking the blue icon next to the Actions menu (   ), then clicking Yes to confirm the change.

To add a relation, perform the following steps: 

  1. Click the Actions menu (   ) > Add relation and specify a source and target for an outgoing relationship, and then click Apply

  2. To change the incoming or outgoing relationship to one-to-many, click the blue icon next to the Actions menu (  ⋮  ), and then click Change.

  3. To change the operator between a source and a target, click the operator (the blue equal sign in the screenshot shown here) and choose equal to or between. If you choose between you must select a target.

  4. To delete a relationship, click the Actions menu (   ), and then click Delete to confirm the deletion.

...

Click either the Collapse or Expand All Tables in a Relationship icon at the top of the workspace next to Tips to expand or collapse all nodes.

Tabular view

For complex relationships, you can also view and edit the nodes in a table format.  The table format is best used when you have a larger number of nodes, for example, 25.  It helps you avoid additional scrolling and moving relationship lines. You can see all of the information more easily in table format. The table view allows you to more easily search, sort, and filter relationships. 

Once you have made changes using the tabular view, you can't switch back to the graphical view. 

To switch to the tabular view, click the Actions menu (...) and click Switch to Tabular View.

Raw data

You can create relationships using data that hasn't been processed into a semantic model. Select the file you want to use and create relationships using it. See Working with non-materialized or raw data semantic models 

Raw data is data that has no transformations and has not been processed into a semantic model. Kyvos provides tools to use raw data along with datasets that have already been processed. Calculations based on raw data are calculated at the time of the query. This means that certain types of calculations that depend on pre-aggregated data are not available. 

After you add raw data to your relationship and run a data profile job, you will see an option to right-click a raw dataset and choose Show Profile Result. See Creating a data profile. This information may help you create more useful relationships. 

...

The system automatically validates the design as you make changes. However, you can manually do it too. After you have made changes, click the Actions menu (...) and click Validate. See Validating an object.

Optimizing relationships

...