Upload
apelts
View
6
Download
0
Embed Size (px)
DESCRIPTION
Data Moprhing and Modeling
Citation preview
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 1/17
DATA MORPHING BASICS
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 2/17
Data Morphing Basics
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 3/17
Basic concepts
EasyMorph operates with tables (every table consists
of one or more named columns)
Any operation with table data is a transformation (e.g.
Filter, Sort or Rename Columns) Transformation steps of a table are executed one
after another – order mattersTransformation
steps
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 4/17
Output (result) of a transformation automatically
becomes an input for the next transformation. No
additional mapping or “connecting dots” required.
Transformation inputs and outputs
Start transformation
creates table
Aggregate Rename
columns
Sort Enumerate
rows
Trim table
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 5/17
Transformations that create a table
Tables are created by special transformations
Click Import Create table to see all available
transformations that create table
Transformations that
create a table Transformations that
change an existing
table
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 6/17
Viewing transformation results
EasyMorph stores intermediate results (outputs) of
every transformation
Click any transformation to see its output (run project
if it has uncalculated transformations)
Dotted line indicates the
transformation which
output is displayed
The same table, but
different transformations
selected.
Notice different data in
the data grid.
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 7/17
Final state of a table
The result of the last transformation in a table is the
final state (output) of the table
To see the final state of a table just click its last
transformation
Output of the lasttransformation is the final state
of the table
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 8/17
Two-table transformations
Some transformations (e.g. Append or Blend In)
operate with two tables. They take previous state of
the current table and the final state of the other table
as inputs.
Blend In takes output of Derive Table
in this table and output of Aggregate
in the other table as inputs
Dotted line shows the
other table used in a two-
table transformation
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 9/17
Derived tables
Derive Table transformation creates a new table and
links it to the final state of another table. It’s basically
an “alias” (or “view” or “resident table”)
Any table can have unlimited number of derivedtables.
Derived tables update automatically if the originating
table changes.
Re-link derived table to a different table, if needed.
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 10/17
Derived tables (example)
Derive Table
transformation
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 11/17
Why use derived tables?
Branch calculation logic, e.g.:
– Calculate various aggregates based on the same detailed
data
–Break a table (e.g. an Excel report) into smaller sub-tables
– Data quality checks
Logically group transformations
Arrange self-joins
Master derived tables to unleash full potential of
EasyMorph!
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 12/17
Export transformations
To export data use export transformations
Export transformations can be inserted
anywhere just like any other transformation Export transformations don’t change data
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 13/17
Organizing your EasyMorph project
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 14/17
Tabs
Move tables to another tabs (sheets)
– It reduces clutter
– You can logically group tables, e.g. move all mappings to a
separate tab Tabs don’t change the order of calculation
These icons indicate
tables on another tabs.
Click the icons to go to
the respective tables.
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 15/17
Split and merge transformations
Right-click a transformation to split after it
The reverse operation – merge derived table
BEFORE
AFTER
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 16/17
Hints & tips
Use Rule transformation for multiple nested
IF/THEN/ELSE conditions instead of expressions
Clone table to create a table with exactly the same
set of transformations Search a field name in auto-generated documentation
to find all transformations that use this field
7/18/2019 Data Morphing
http://slidepdf.com/reader/full/data-morphing 17/17
easymorph.com