To Be Able to Use Timecalculations, the Following Needs to Be Created on the Data Warehouse

To Be Able to Use Timecalculations, the Following Needs to Be Created on the Data Warehouse

<p>To be able to use TimeCalculations, the following needs to be created on the Data Warehouse:</p><p>Tables:</p><p>TimeAggregations  ID – BigInt  Description – varchar(50)  Custom Data: 0-Period, 1-Year To Date, 2-Last 12 Months, 3-Total Year, 4-Running Total (The labels can be changed, but has to be updated in the businessfunction as well.)</p><p>TimeComparison  ID – BigInt  Description – varchar(50)  Custom Data: 0-Period, 1-Previous Year, 2-Diff. Over Previous Year, 3-Diff. % Over Previous Year (The labels can be changed, but has to be updated in the businessfunction as well.)</p><p>TimeCalculations  ID_Aggregation – BigInt  ID_Comparison – BigInt  Description – varchar(50)</p><p>TimeCalculations table script (DataCleansing prescript) INSERT INTO [TimeCalculations_R] ( ID_Aggregation ,ID_Comparison ,Description ) SELECT a.ID, s.ID, CAST( s.ID AS VARCHAR ) + ' - ' + CAST( a.ID AS VARCHAR ) AS Description FROM TimeAggregations_V a CROSS JOIN TimeComparison_V s GO</p><p>DECLARE @RC int DECLARE @Debug bit DECLARE @version int DECLARE @loaddate datetime SET @Debug=0 SET @version=1 SET @loaddate=GETDATE() EXECUTE @RC = [dbo].[usp_TimeCalculations_Clean] @Debug ,@version ,@loaddate GO A TimeCalculations dimension must be created on the Cubes tab as below, and added to the cube as a shell dimension: </p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    3 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us