Download TARGIT - Setting up Dynamic Periods with Jet Enterprise

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Open Database Connectivity wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Database wikipedia , lookup

Clusterpoint wikipedia , lookup

Relational model wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Extensible Storage Engine wikipedia , lookup

Database model wikipedia , lookup

Transcript
1
Setting up Dynamic Periods with the Jet Data Manager
1. Create an Auxiliary database in TARGIT Management
Log in to Targit Management and create a new connection: Other – Auxiliary Relational Database
Point to the same SQL Server that the Jet data warehouse is located on:
Page 1 of 6
If you don’t already have a database created create one called TARGITAUX and place point to it from the Data Link
Properties.
Page 2 of 6
2. Create a Table Lookup view in Auxiliary Database
Create a view that points over to the Jet data warehouse and looks in the Date_V table.
Here is an example of what this would look like but you may need to modify the SELECT statement to suit your particular
needs.
SELECT
DateValue AS THEDATE, YearValue AS YEAR, DisplayQuarter AS QUARTER, DisplayMonth AS MONTH,
DisplayDate AS DAY
FROM
JetAxDwh.dbo.Date_V
Make sure the name of the columns in the view are called: THEDATE,YEAR,QUARTER,MONTH,DAY
Also make sure the columns that are referred to in the view are the exact same columns that are used as name columns in
the dimension inside the cube!
Name the view TARGITLookupTable
Page 3 of 6
Page 4 of 6
The data should be identical to how data is being displayed in your dimension in TARGIT.
3. Set up a TimeDef that points to the Lookup table
Put the following in the Description Field:
#|TimeDef:[<>].[<>].[<>].[<>],TableLookup:TARGITLookuptable|#
If you called your view something different put it in the TimeDef string after Tablelookup:
#|TimeDef:[<>].[<>].[<>].[<>],TableLookup:VIEWNAME|#
Note you can have multiple Lookup tables if you have multiple hierarchies in your time dimension.
Make sure that each level in the hierarchy is set to the correct type: Year, Quarter, Month, Days:
Page 5 of 6
Once that’s done – deploy the dimension and process the cube and you should be seeing the following in TARGIT:
Page 6 of 6