Upload
stankotrcek
View
4.574
Download
1
Embed Size (px)
DESCRIPTION
Citation preview
Using PowerPivot for analyzing
Microsoft Dynamics NAV
www.StankoTrcek.com http://twitter.com/stankotrcek
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
Data sources for PowerPivot
It’s not recommended to work directly with NAV database. It’s better to create Datawarehouse database.
NAV DWEXCEL +
PowerPivot
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
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
Data warehouse concept – GL data
GLEntry{
fact table}
GLAcc
Calendar
SourceNo
Year
YearMonth
GLAcc1
GLAcc2
GLAcc3
DimValue
Dim1
Dim7
Dim2
Dim3
Dim4
Dim5
Dim6
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
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)
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 !)
PowerPivot data viewEvery loaded table is visible in separate sheet (see at bottom).
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)
Contact me on
www.powerpivot.com www.powerpivotgeek.com www.powerpivottwins.com www.powerpivotpro.com
More information
[email protected]://twitter.com/stankotrcek