12
Using PowerPivot for analyzing Microsoft Dynamics NAV [email protected] www.StankoTrcek.com http:// twitter.com/stankotrcek

Using Excel PowerPivot for analyze Navision

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Using Excel PowerPivot for analyze Navision

Using PowerPivot for analyzing

Microsoft Dynamics NAV

[email protected]

www.StankoTrcek.com http://twitter.com/stankotrcek

Page 2: Using Excel PowerPivot for analyze Navision

NAV and Excel+PowerPivot

MS Dynamics NAVision• enterprise resource

planning (ERP) solutions• transaction system • data are not prepared

for analytical use• more on Web page:

MS Dynamics NAV

EXCEL 2010 + PowerPivot• PowerPivot is add-in for

Excel 2010• It’s environment for

analytics, with much more power than we know till now in Excel

• more on Web page:PowerPivot

Page 3: Using Excel PowerPivot for analyze Navision

Data sources for PowerPivot

It’s not recommended to work directly with NAV database. It’s better to create Datawarehouse database.

NAV DWEXCEL +

PowerPivot

Page 4: Using Excel PowerPivot for analyze Navision

NAVision Dimension concept

• Dimensions in NAV are codes which is user defined (ex.: AREA)

• Dimensions are append to transactions when posting documents

• With Dimensions user can analyze posted data

Page 5: Using Excel PowerPivot for analyze Navision

Analyzing General Ledger data

• GL data are in NAV table “G/L Entry”• Data are writen sequentialy during post

procedure (primary key is “Entry No.”)• Every row in G/L Entry can have many

Dimension rows

• For analyzing data we must know the content

Page 6: Using Excel PowerPivot for analyze Navision

Data warehouse concept – GL data

GLEntry{

fact table}

GLAcc

Calendar

SourceNo

Year

YearMonth

GLAcc1

GLAcc2

GLAcc3

DimValue

Dim1

Dim7

Dim2

Dim3

Dim4

Dim5

Dim6

Page 7: Using Excel PowerPivot for analyze Navision

GLEntry table structureGLEntry table •main fact table for analyzing

GL transactions• data are writen in NAV

sequentialy

Source• NAV – data from NAV• ETL – data from

transformation process

Fieldd Description Source

EntryNo Entry No. Transact. are writen sequential NAV

GLAcc General Ledger Account No. NAV

GLAcc1 first char from GLAcc (GL Class) ETL

GLAcc2 first 2 char from GLAcc (GL Class) ETL

GLAcc3 first 3 char from GLAcc (GL Class) ETL

DatePost Posting date NAV

DateYear Year of Posting date ETL

DateYearMonth Year and Month of Posting date ETL

Amount Posted Amount for GLAcc NAV

DebitAmount Posted Debit Amount for GLAcc NAV

CreditAmount Posted Credit Amount for GLAcc NAV

ETLDimUpdated Internal switch for updating Dim1..Dim7 ETL

Dim1 Dimension code (depend on DimSetup) ETL

Dim2 Dimension code (depend on DimSetup) ETL

Dim3 Dimension code (depend on DimSetup) ETL

Dim4 Dimension code (depend on DimSetup) ETL

Dim5 Dimension code (depend on DimSetup) ETL

Dim6 Dimension code (depend on DimSetup) ETL

Dim7 Dimension code (depend on DimSetup) ETL

DocType Document type of transaction NAV

DocNo Document Number of transaction NAV

DocDate Document Date NAV

GenPostType General Posting Type NAV

GenBusGrp General Business Group NAV

GenProdGrp General Product Group NAV

SourceType Source Type (Customer, Vendor) NAV

SourceNo Customer, Vendor ID (prepend C_, V_ ) ETL

Page 8: Using Excel PowerPivot for analyze Navision

Data transformation from NAV to DW

Phase 1:

NAV DW

• To fill Data warehouse we need skilled profesionall (IT support)•We need to program data transformation from NAV to DW

database (using T-SQL procedures)

Page 9: Using Excel PowerPivot for analyze Navision

Data load into Excel+PowerPivotPhase 2:

DWEXCEL +

PowerPivot

• After initial Excel setup (connection setting to DW) power user can load and design his own PowerPivot tables• User can refresh data in PowerPivot table by table or all tables

in one step• Table in PowerPivot is refreshed complete (load whole data

again !)

Page 10: Using Excel PowerPivot for analyze Navision

PowerPivot data viewEvery loaded table is visible in separate sheet (see at bottom).

Page 11: Using Excel PowerPivot for analyze Navision

PowerPivot exampleGL Amounts by GL Accounts by Department dimension, on left are slicers For Dim1 (GL Account class) and for GL Account type (Income or Balace)