How to inherit a label name/ characteristic in a sub sample of a Data Entry Sequence ?

How to inherit a label name/ characteristic in a sub sample of a Data Entry Sequence ?

book

Article ID: KB0072682

calendar_today

Updated On:

Products Versions
Spotfire Statistica All Supported Versions

Description


Pre-requisites :
Data Entry Sequence to be defined with at least 2 component Data Entry Setups. 

Issue/Introduction

How to inherit a label name/ characteristic in a sub sample of a Data Entry Sequence ?

Resolution

To inherit a label name or characteristic from the Parent sample in Data entry Setup sequence, define the following formula in Child Data Entry Setup of the Data Entry sequence  :

Parent.[Label name of the DES in Parent Data Entry Setup] or Parent. [Characteristic name of the DES in Parent Data Entry Setup]

For instance, lets assume that we have a label "Account" in the parent data entry setup sequence. To inherit this from a Child Data entry setup, select Inputs in the child Data Entry setup, double click on the label that needs to be inherited (Account Name in the below illustrated example" and define the calculated formula  as "Parent.Account" 

User-added image

When entering the sub sample, this label value will be inherited automatically from the Sample of the parent data entry setup. 

User-added image
Note that if there are more levels - such as the value needs to be inherited 2 levels down , then the formula would change to Parent.Parent.[Label name or Characteristic of the DES in Parent Data Entry Setup]. In other words this would inherit from the Grandparent Data entry Setup rather than the Parent Data Entry Setup.