data morphing

17
7/18/2019 Data Morphing http://slidepdf.com/reader/full/data-morphing 1/17 DATA MORPHING BASICS

Upload: apelts

Post on 01-Mar-2016

23 views

Category:

Documents


0 download

DESCRIPTION

Data Moprhing and Modeling

TRANSCRIPT

Page 1: Data Morphing

7/18/2019 Data Morphing

http://slidepdf.com/reader/full/data-morphing 1/17

DATA MORPHING BASICS

Page 2: Data Morphing

7/18/2019 Data Morphing

http://slidepdf.com/reader/full/data-morphing 2/17

Data Morphing Basics

Page 3: Data Morphing

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

Page 4: Data Morphing

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

Page 5: Data Morphing

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

Page 6: Data Morphing

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.

Page 7: Data Morphing

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

Page 8: Data Morphing

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

Page 9: Data Morphing

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.

Page 10: Data Morphing

7/18/2019 Data Morphing

http://slidepdf.com/reader/full/data-morphing 10/17

Derived tables (example)

Derive Table 

transformation

Page 11: Data Morphing

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!

Page 12: Data Morphing

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 

Page 13: Data Morphing

7/18/2019 Data Morphing

http://slidepdf.com/reader/full/data-morphing 13/17

Organizing your EasyMorph project

Page 14: Data Morphing

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.

Page 15: Data Morphing

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

Page 16: Data Morphing

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

Page 17: Data Morphing

7/18/2019 Data Morphing

http://slidepdf.com/reader/full/data-morphing 17/17

easymorph.com