Model: Cash Planning - Specifications for Fact Table: CASH PLAN MEASURES

On this page you will find the specifications regarding the Model: Cash Planning and Fact Table: CASH PLAN MEASURES.

Attributes

Attribute Description (where applicable)

Measures (table to be generated as far as possible)

Aggregation of measures is based on SUM if not explicitly noted.

This section describes the basic measures in the cube. These are either measures defined in the core Information Source, in the model itself or in the ETL process. The columns have the following meaning:

Measure Calculated Y/N Contains Time Intelligence Y/N Definition/Note (where applicable) Aggregation Type Hidden Y/N Tabular Expression
Acc Curr AmountNNCash flow in Accounting currency, excluding taxSUMYSUM('CASH PLAN DETAILS'[Acc Currency Amount] )
Acc Curr Amount With TaxNNCash flow in Accounting currency, including taxSUMYSUM('CASH PLAN DETAILS'[Acc Currency Amount With Tax] )
Cash FlowYNCash flow measure selected with switch functionNSWITCH([Selected Amount Measure], 1, [Acc Curr Amount With Tax], 2, [Acc Curr Amount], 3, [Trans Curr Amount With Tax], 4, [Trans Curr Amount], 5, [Rep 1 Curr Amount With Tax], 6, [Rep 1 Curr Amount], 7, [Rep 2 Curr Amount With Tax], 8, [Rep 2 Curr Amount], 9, [Rep 3 Curr Amount With Tax], 10, [Rep 3 Curr Amount] )
Cash Flow (Acc By All Time buckets)YYCumulative Cash flow measure selected with switch function - Presents cumulative values even for time bucket without any transactions.N VAR CurrentTimeBucket = SELECTEDVALUE('TIME BUCKET'[Time Bucket Code]) RETURN CALCULATE( [Cash Flow], 'TIME BUCKET'[Time Bucket Code] <= CurrentTimeBucket, ALL('TIME BUCKET') )
Cash Flow (Acc By Date)YYCumulative Cash flow measure selected with switch function - Presents cumulative values only for dates with transactions.N VAR RunningTotal= CALCULATE( [Cash flow], FILTER(ALL('CASH FLOW PERIOD'), 'CASH FLOW PERIOD'[Cash Flow Date]<=MAX('CASH FLOW PERIOD'[Cash Flow Date]))) RETURN IF(COUNTROWS('CASH PLAN DETAILS'), RunningTotal)
Cash Flow (Acc By Time bucket)YYCumulative Cash flow measure selected with switch function - Presents cumulative values only for time buckets with transactions.N VAR RunningTotal= CALCULATE( [Cash flow], FILTER(ALL('TIME BUCKET'), 'TIME BUCKET'[Time Bucket Code]<=MAX('TIME BUCKET'[Time Bucket Code]))) RETURN IF(COUNTROWS('CASH PLAN DETAILS'), RunningTotal)
Cash Flow (Ack By All Dates)YYCumulative Cash flow measure selected with switch function - Presents cumulative values even for dates without any transactions.N VAR MaxDate = MAX('CASH FLOW PERIOD'[Cash Flow Date]) RETURN CALCULATE( [Cash Flow], 'CASH FLOW PERIOD'[Cash Flow Date]<=MaxDate, ALL('CASH FLOW PERIOD') )
InflowYNInflow measure selected with switch functionNCALCULATE([Cash Flow],'INFLOW OUTFLOW'[Cash InFlow OutFlow Code]="IN")
Inflow (Acc By All Time buckets)YYCumulative Inflow measure selected with switch function - Presents cumulative values even for time bucket without any transactions.N VAR CurrentTimeBucket = SELECTEDVALUE('TIME BUCKET'[Time Bucket Code]) RETURN CALCULATE( [Inflow], 'TIME BUCKET'[Time Bucket Code] <= CurrentTimeBucket, ALL('TIME BUCKET') )
Inflow (Acc By Date)YYCumulative Inflow measure selected with switch function - Presents cumulative values only for dates with transactions.N VAR RunningTotal= CALCULATE( [Inflow], FILTER(ALL('CASH FLOW PERIOD'), 'CASH FLOW PERIOD'[Cash Flow Date]<=MAX('CASH FLOW PERIOD'[Cash Flow Date]))) RETURN IF(COUNTROWS('CASH PLAN DETAILS'), RunningTotal)
Inflow (Acc By Time bucket)YYCumulative Inflow measure selected with switch function - Presents cumulative values only for time buckets with transactions.N VAR RunningTotal= CALCULATE( [Inflow], FILTER(ALL('TIME BUCKET'), 'TIME BUCKET'[Time Bucket Code]<=MAX('TIME BUCKET'[Time Bucket Code]))) RETURN IF(COUNTROWS('CASH PLAN DETAILS'), RunningTotal)
Inflow (Ack By All Dates)YYCumulative Inflow measure selected with switch function - Presents cumulative values even for dates without any transactions.N VAR MaxDate = MAX('CASH FLOW PERIOD'[Cash Flow Date]) RETURN CALCULATE( [Inflow], 'CASH FLOW PERIOD'[Cash Flow Date]<=MaxDate, ALL('CASH FLOW PERIOD') )
OutflowYNOutflow measure selected with switch functionNCALCULATE([Cash Flow]*-1,'INFLOW OUTFLOW'[Cash InFlow OutFlow Code]="OUT")
Outflow (Acc By All Time buckets)YYCumulative Outflow measure selected with switch function - Presents cumulative values even for time bucket without any transactions.N VAR CurrentTimeBucket = SELECTEDVALUE('TIME BUCKET'[Time Bucket Code]) RETURN CALCULATE( [Outflow], 'TIME BUCKET'[Time Bucket Code] <= CurrentTimeBucket, ALL('TIME BUCKET') )
Outflow (Acc By Date)YYCumulative Outflow measure selected with switch function - Presents cumulative values only for dates with transactions.N VAR RunningTotal= CALCULATE( [Outflow], FILTER(ALL('CASH FLOW PERIOD'), 'CASH FLOW PERIOD'[Cash Flow Date]<=MAX('CASH FLOW PERIOD'[Cash Flow Date]))) RETURN IF(COUNTROWS('CASH PLAN DETAILS'), RunningTotal)
Outflow (Acc By Time bucket)YYCumulative Outflow measure selected with switch function - Presents cumulative values only for time buckets with transactions.N VAR RunningTotal= CALCULATE( [Outflow], FILTER(ALL('TIME BUCKET'), 'TIME BUCKET'[Time Bucket Code]<=MAX('TIME BUCKET'[Time Bucket Code]))) RETURN IF(COUNTROWS('CASH PLAN DETAILS'), RunningTotal)
Outflow (Ack By All Dates)YYCumulative Outflow measure selected with switch function - Presents cumulative values even for dates without any transactions.N VAR MaxDate = MAX('CASH FLOW PERIOD'[Cash Flow Date]) RETURN CALCULATE( [Outflow], 'CASH FLOW PERIOD'[Cash Flow Date]<=MaxDate, ALL('CASH FLOW PERIOD') )
Rep 1 Curr AmountNNCash flow in Reporting currency 1, excluding taxSUMYSUM('CASH PLAN DETAILS'[Rep Currency 1 Amount])
Rep 1 Curr Amount With TaxNNCash flow in Reporting currency 1, including taxSUMYSUM('CASH PLAN DETAILS'[Rep Currency 1 Amount With Tax])
Rep 2 Curr AmountNNCash flow in Reporting currency 2, excluding taxSUMYSUM('CASH PLAN DETAILS'[Rep Currency 2 Amount])
Rep 2 Curr Amount With TaxNNCash flow in Reporting currency 2, including taxSUMYSUM('CASH PLAN DETAILS'[Rep Currency 2 Amount With Tax])
Rep 3 Curr AmountNNCash flow in Reporting currency 3, excluding taxSUMYSUM('CASH PLAN DETAILS'[Rep Currency 3 Amount])
Rep 3 Curr Amount With TaxNNCash flow in Reporting currency 3, including taxSUMYSUM('CASH PLAN DETAILS'[Rep Currency 3 Amount With Tax])
Selected Amount MeasureYYFinds the amount measure for use with switch functionMINYMIN('SWITCH MEASURE LIST CASH PLAN'[Row Index])
Selected CurrencyYYFinds the currency type for use with switch functionMINYMIN('SWITCH CURRENCY TYPE'[Row Index])
Selected Rep Curr 1YYFinds the currency code for reporting currency 1NSELECTEDVALUE('CASH PLAN'[Cash Plan Reporting Currency 1])
Selected Rep Curr 2YYFinds the currency code for reporting currency 2NSELECTEDVALUE('CASH PLAN'[Cash Plan Reporting Currency 2])
Selected Rep Curr 3YYFinds the currency code for reporting currency 3NSELECTEDVALUE('CASH PLAN'[Cash Plan Reporting Currency 3])
Selected TaxNNFinds if to include or exclude taxMINYMIN('SWITCH TAX'[Row Index])
Trans Curr AmountNNCash flow in Transaction currency, excluding taxSUMYSUM('CASH PLAN DETAILS'[Trans Currency Amount] )
Trans Curr Amount With TaxNNCash flow in Transaction currency, including taxSUMYSUM('CASH PLAN DETAILS'[Trans Currency Amount With Tax] )
Transaction Exist FlagYYFlag if transaction exist in Fact table for filters appliedNINT(not ISEMPTY('CASH PLAN DETAILS'))

Time Intelligence Measures

Time based measures are calculated in the cube with respect to other measures. The table below defines the meaning/definition of  the different time measures. These measures need to be used with a specific time dimension hierarchy [REPORTING_DATE].[RepDateMFHy].

Measure Meaning
YTD Aggregated value for current month in current  year. E.g. for period 202010 Ytd represents sum of periods 202000-202010.
R12 For a given period, the sum all months from one year back up to the previous month. E.g. Rolling 12 for 202010 is the sum of months 201910 - 202009
PY Previous Year
The value of the corresponding month one year back. E.g. for month 202010, the value of month 201910.
YTD PY Year to Date Previous Year
Aggregated value for corresponding month one year back. E.g. for month 202010 YTD Previous Year represents sum of months 201901-201910.
R12 PY Rolling 12 (completed) Months Previous Year
For a given month, first going one year back, then taking the sum of all months from one (more) year back up to the previous month. E.g. for month 202010 the sum of month 201810-201909
Avg XXX Ytd Sum XXX YTD/Count XXX YTD
Avg XXX R12 Sum XXX R12/Count XXX R12
XXX % YTD Count XXX YTD/Count YYY YTD
XXX % R12 Count XXX R12/Count XXX R12

USED BY MODEL(S)

Model Name Product Area
Cash Planning

Data source Information

The data source for this object is defined using IFS Developer Tool. The data source contains a number of transformations where the model reads data from the last step, i.e. the Data source view name (DW Source View Name).

Additional information can be found in the online documentation of Information Sources.

Model Table DW Source view (SQL Server) BI Access View Referenced Information Source Recommended Access Type
CASH PLAN MEASURESFACT_CASH_PLAN_DETAIL_TMFACT_CASH_PLAN_DETAIL_BIFACT_CASH_PLAN_DETAILData Mart