Skip to content

Finance - P&L Reports

>> Download the sample (Power BI)

>> Download the Excel data

This sample provides insights on the following profit & loss metrics:

  1. Sales by Location (P&L)
  2. Staff Costs by Location (P&L)
  3. Operating Profit by Location (P&L)
  4. Conversion by Location (P&L)

Other P&L-related measures are also shown.

[Actuals: P&L ALL [$]]] =
VAR ReportingType = "CA=ACTUAL"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType
)
)
[Budget: P&L ALL [$]]] =
VAR ReportingType = "CA=BUDGET"
VAR InputPeriod = "12"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod
)
)
[P&L As PercentageOfTotal [%]]] =
SWITCH (
TRUE (),
ISFILTERED ( Calendar_Table[Date].[Month] ), IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF", [Q1RF: P&L All [$]]],
"Q2RF", [Q2RF: P&L All [$]]],
"Q3RF", [Q3RF: P&L All [$]]],
"Budget", [Budget: P&L All [$]]],
"Actuals", [Actuals: P&L ALL [$]]],
"ProForma", [ProForma - 1: P&L ALL [$]]],
BLANK ()
)
)
/ CALCULATE (
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF", [Q1RF: P&L All [$]]],
"Q2RF", [Q2RF: P&L All [$]]],
"Q3RF", [Q3RF: P&L All [$]]],
"Budget", [Budget: P&L All [$]]],
"Actuals", [Actuals: P&L ALL [$]]],
"ProForma", [ProForma - 1: P&L ALL [$]]],
BLANK ()
)
),
ALLSELECTED ( FactPnL ),
FILTERS ( Calendar_Table[Date].[Month] )
),
ISFILTERED ( Calendar_Table[Date].[Quarter] ), IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF", [Q1RF: P&L All [$]]],
"Q2RF", [Q2RF: P&L All [$]]],
"Q3RF", [Q3RF: P&L All [$]]],
"Budget", [Budget: P&L All [$]]],
"Actuals", [Actuals: P&L ALL [$]]],
"ProForma", [ProForma - 1: P&L ALL [$]]],
BLANK ()
)
)
/ CALCULATE (
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF", [Q1RF: P&L All [$]]],
"Q2RF", [Q2RF: P&L All [$]]],
"Q3RF", [Q3RF: P&L All [$]]],
"Budget", [Budget: P&L All [$]]],
"Actuals", [Actuals: P&L ALL [$]]],
"ProForma", [ProForma - 1: P&L ALL [$]]],
BLANK ()
)
),
ALLSELECTED ( FactPnL ),
FILTERS ( Calendar_Table[Date].[Quarter] )
),
ISFILTERED ( Calendar_Table[Date].[Year] ), IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF", [Q1RF: P&L All [$]]],
"Q2RF", [Q2RF: P&L All [$]]],
"Q3RF", [Q3RF: P&L All [$]]],
"Budget", [Budget: P&L All [$]]],
"Actuals", [Actuals: P&L ALL [$]]],
"ProForma", [ProForma - 1: P&L ALL [$]]],
BLANK ()
)
)
/ CALCULATE (
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF", [Q1RF: P&L All [$]]],
"Q2RF", [Q2RF: P&L All [$]]],
"Q3RF", [Q3RF: P&L All [$]]],
"Budget", [Budget: P&L All [$]]],
"Actuals", [Actuals: P&L ALL [$]]],
"ProForma", [ProForma - 1: P&L ALL [$]]],
BLANK ()
)
),
ALLSELECTED ( FactPnL ),
FILTERS ( Calendar_Table[Date].[Year] )
),
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF", [Q1RF: P&L All [$]]],
"Q2RF", [Q2RF: P&L All [$]]],
"Q3RF", [Q3RF: P&L All [$]]],
"Budget", [Budget: P&L All [$]]],
"Actuals", [Actuals: P&L ALL [$]]],
"ProForma", [ProForma - 1: P&L ALL [$]]],
BLANK ()
)
)
/ CALCULATE (
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF", [Q1RF: P&L All [$]]],
"Q2RF", [Q2RF: P&L All [$]]],
"Q3RF", [Q3RF: P&L All [$]]],
"Budget", [Budget: P&L All [$]]],
"Actuals", [Actuals: P&L ALL [$]]],
"ProForma", [ProForma - 1: P&L ALL [$]]],
BLANK ()
)
),
ALLSELECTED ( FactPnL )
)
)
[Primary Measure: P&L ALL [$]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L All [$]]],
"Q2RF",
[Q2RF: P&L All [$]]],
"Q3RF",
[Q3RF: P&L All [$]]],
"Budget",
[Budget: P&L All [$]]],
"Actuals",
[Actuals: P&L ALL [$]]],
"ProForma",
[ProForma - 1: P&L ALL [$]]],
BLANK()
)
)
[ProForma - 1: P&L ALL [$]]] =
VAR ReportingType = "CA=PROFORMA"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
DATESMTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
DATESQTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
DATESYTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
[Q1RF: P&L ALL [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "03"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
Month
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod
)
)
[Q2RF: P&L ALL [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "06"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
Month
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod
)
)
[Q3RF: P&L ALL [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "09"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
Month
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod
)
)
[QXRF: P&L ALL [$]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L All [$]]],
"Q2RF",
[Q2RF: P&L All [$]]],
"Q3RF",
[Q3RF: P&L All [$]]],
"Budget",
[Budget: P&L All [$]]],
"ProForma",
[ProForma - 1: P&L ALL [$]]],
BLANK()
)
)
[Actuals: P&L ALL Ratios Table [%]]] =
VAR ReportingType = "CA=ACTUAL"
VAR Account = "AC=5000"
RETURN
IF (
OR (
AND (
DimHeaderRatios[HeaderRatios Detail] = 0,
ISFILTERED ( DimAccounts[SubHeader] )
),
AND ( [Sub Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader 2] ) )
),
BLANK (),
SWITCH (
DimHeaderRatios[HeaderRatios CalcType],
BLANK (), BLANK (),
3, IFERROR (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
)
/ CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
ALL ( DimHeaderRatios )
),
BLANK()
),
4, IFERROR (
CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Sign]
),
ALL ( DimHeaderRatios ),
DimHeaderRatios[Order] < VALUES ( DimHeaderRatios[Order] )
)
/ CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
ALL ( DimHeaderRatios )
),
BLANK()
)
)
)
[Actuals: P&L All Table [$]]] =
VAR ReportingType = "CA=ACTUAL"
RETURN
IF (
OR (
AND ( DimHeaders[Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader] ) ),
AND ( [Sub Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader 2] ) )
),
BLANK (),
SWITCH (
DimHeaders[Header CalcType],
BLANK (), BLANK (),
1, SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
2, IF (
HASONEFILTER ( DimHeaders[Header] ),
CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Sign]
),
ALL ( DimHeaders ),
DimHeaders[Order] < VALUES ( DimHeaders[Order] )
),
BLANK ()
)
)
)
[Budget: P&L ALL Ratios Table [%]]] =
VAR ReportingType = "CA=BUDGET"
VAR Account = "AC=5000"
VAR InputPeriod = "12"
RETURN
IF (
OR (
AND (
DimHeaderRatios[HeaderRatios Detail] = 0,
ISFILTERED ( DimAccounts[SubHeader] )
),
AND ( [Sub Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader 2] ) )
),
BLANK (),
SWITCH (
DimHeaderRatios[HeaderRatios CalcType],
BLANK (), BLANK (),
3, IFERROR (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
)
/ CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
ALL ( DimHeaderRatios )
),
BLANK()
),
4, IFERROR (
CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Sign]
),
ALL ( DimHeaderRatios ),
DimHeaderRatios[Order] < VALUES ( DimHeaderRatios[Order] )
)
/ CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
ALL ( DimHeaderRatios )
),
BLANK()
)
)
)
[Budget: P&L All Table [$]]] =
VAR ReportingType = "CA=BUDGET"
VAR InputPeriod = "12"
RETURN
IF (
OR (
AND ( DimHeaders[Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader] ) ),
AND ( [Sub Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader 2] ) )
),
BLANK (),
SWITCH (
DimHeaders[Header CalcType],
BLANK (), BLANK (),
1, SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
2, IF (
HASONEFILTER ( DimHeaders[Header] ),
CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Sign]
),
ALL ( DimHeaders ),
DimHeaders[Order] < VALUES ( DimHeaders[Order] )
),
BLANK ()
)
)
)
[Primary Measure: P&L All Ratios Table [%]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L All Ratios Table [%]]],
"Q2RF",
[Q2RF: P&L All Ratios Table [%]]],
"Q3RF",
[Q3RF: P&L All Ratios Table [%]]],
"Budget",
[Budget: P&L All Ratios Table [%]]],
"Actuals",
[Actuals: P&L All Ratios Table [%]]],
"ProForma",
[ProForma - 1: P&L ALL Ratios Table [%]]],
BLANK()
)
)
[Primary Measure: P&L All Table [$]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L All Table [$]]],
"Q2RF",
[Q2RF: P&L All Table [$]]],
"Q3RF",
[Q3RF: P&L All Table [$]]],
"Budget",
[Budget: P&L All Table [$]]],
"Actuals",
[Actuals: P&L All Table [$]]],
"ProForma",
[ProForma - 1: P&L All Table [$]]],
BLANK()
)
)
[ProForma - 1: P&L ALL Ratios Table [%]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC-5000"
RETURN
IF (
OR (
AND (
DimHeaderRatios[HeaderRatios Detail] = 0,
ISFILTERED ( DimAccounts[SubHeader] )
),
AND ( [Sub Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader 2] ) )
),
BLANK (),
SWITCH (
DimHeaderRatios[HeaderRatios CalcType],
BLANK (), BLANK (),
3, IFERROR (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
SAMEPERIODLASTYEAR(Calendar_Table[Date]),
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
)
/ CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
SAMEPERIODLASTYEAR(Calendar_Table[Date]),
FactPnL[Account] = Account,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
ALL ( DimHeaderRatios )
),
BLANK()
),
4, IFERROR (
CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
SAMEPERIODLASTYEAR(Calendar_Table[Date]),
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Sign]
),
ALL ( DimHeaderRatios ),
DimHeaderRatios[Order] < VALUES ( DimHeaderRatios[Order] )
)
/ CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
SAMEPERIODLASTYEAR(Calendar_Table[Date]),
FactPnL[Account] = Account,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
ALL ( DimHeaderRatios )
),
BLANK()
)
)
)
[ProForma - 1: P&L All Table [$]]] =
VAR ReportingType = "CA=PROFORMA"
RETURN
IF (
OR (
AND ( DimHeaders[Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader] ) ),
AND ( [Sub Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader 2] ) )
),
BLANK (),
SWITCH (
DimHeaders[Header CalcType],
BLANK (), BLANK (),
1, SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
SAMEPERIODLASTYEAR(Calendar_Table[Date]),
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
2, IF (
HASONEFILTER ( DimHeaders[Header] ),
CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
SAMEPERIODLASTYEAR(Calendar_Table[Date]),
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Sign]
),
ALL ( DimHeaders ),
DimHeaders[Order] < VALUES ( DimHeaders[Order] )
),
BLANK ()
)
)
)
[Q1RF: P&L ALL Ratios Table [%]]] =
VAR ReportingType = "CA=FORECAST"
VAR Account = "AC=5000"
VAR InputPeriod = "03"
RETURN
IF (
OR (
AND (
DimHeaderRatios[HeaderRatios Detail] = 0,
ISFILTERED ( DimAccounts[SubHeader] )
),
AND ( [Sub Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader 2] ) )
),
BLANK (),
SWITCH (
DimHeaderRatios[HeaderRatios CalcType],
BLANK (), BLANK (),
3, IFERROR (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
)
/ CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
ALL ( DimHeaderRatios )
),
BLANK()
),
4, IFERROR (
CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Sign]
),
ALL ( DimHeaderRatios ),
DimHeaderRatios[Order] < VALUES ( DimHeaderRatios[Order] )
)
/ CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
ALL ( DimHeaderRatios )
),
BLANK()
)
)
)
[Q1RF: P&L ALL Table [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "03"
RETURN
IF (
OR (
AND ( DimHeaders[Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader] ) ),
AND ( [Sub Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader 2] ) )
),
BLANK (),
SWITCH (
DimHeaders[Header CalcType],
BLANK (), BLANK (),
1, SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
2, IF (
HASONEFILTER ( DimHeaders[Header] ),
CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Sign]
),
ALL ( DimHeaders ),
DimHeaders[Order] < VALUES ( DimHeaders[Order] )
),
BLANK ()
)
)
)
[Q2RF: P&L ALL Ratios Table [%]]] =
VAR ReportingType = "CA=FORECAST"
VAR Account = "AC=5000"
VAR InputPeriod = "06"
RETURN
IF (
OR (
AND (
DimHeaderRatios[HeaderRatios Detail] = 0,
ISFILTERED ( DimAccounts[SubHeader] )
),
AND ( [Sub Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader 2] ) )
),
BLANK (),
SWITCH (
DimHeaderRatios[HeaderRatios CalcType],
BLANK (), BLANK (),
3, IFERROR (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
)
/ CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
ALL ( DimHeaderRatios )
),
BLANK()
),
4, IFERROR (
CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Sign]
),
ALL ( DimHeaderRatios ),
DimHeaderRatios[Order] < VALUES ( DimHeaderRatios[Order] )
)
/ CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
ALL ( DimHeaderRatios )
),
BLANK()
)
)
)
[Q2RF: P&L ALL Table [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "06"
RETURN
IF (
OR (
AND ( DimHeaders[Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader] ) ),
AND ( [Sub Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader 2] ) )
),
BLANK (),
SWITCH (
DimHeaders[Header CalcType],
BLANK (), BLANK (),
1, SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
2, IF (
HASONEFILTER ( DimHeaders[Header] ),
CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Sign]
),
ALL ( DimHeaders ),
DimHeaders[Order] < VALUES ( DimHeaders[Order] )
),
BLANK ()
)
)
)
[Q3RF: P&L ALL Ratios Table [%]]] =
VAR ReportingType = "CA=FORECAST"
VAR Account = "AC=5000"
VAR InputPeriod = "09"
RETURN
IF (
OR (
AND (
DimHeaderRatios[HeaderRatios Detail] = 0,
ISFILTERED ( DimAccounts[SubHeader] )
),
AND ( [Sub Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader 2] ) )
),
BLANK (),
SWITCH (
DimHeaderRatios[HeaderRatios CalcType],
BLANK (), BLANK (),
3, IFERROR (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
)
/ CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
ALL ( DimHeaderRatios )
),
BLANK()
),
4, IFERROR (
CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Sign]
),
ALL ( DimHeaderRatios ),
DimHeaderRatios[Order] < VALUES ( DimHeaderRatios[Order] )
)
/ CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
ALL ( DimHeaderRatios )
),
BLANK()
)
)
)
[Q3RF: P&L ALL Table [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "09"
RETURN
IF (
OR (
AND ( DimHeaders[Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader] ) ),
AND ( [Sub Header Detail] = 0, ISFILTERED ( DimAccounts[SubHeader 2] ) )
),
BLANK (),
SWITCH (
DimHeaders[Header CalcType],
BLANK (), BLANK (),
1, SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Report Sign]
),
2, IF (
HASONEFILTER ( DimHeaders[Header] ),
CALCULATE (
SUMX (
DimAccounts,
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
DimAccounts[Include in Calcs?] = "Yes"
)
* DimAccounts[Sign]
),
ALL ( DimHeaders ),
DimHeaders[Order] < VALUES ( DimHeaders[Order] )
),
BLANK ()
)
)
)
[QXRF: P&L All Ratios Table [%]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L ALL Ratios Table [%]]],
"Q2RF",
[Q2RF: P&L ALL Ratios Table [%]]],
"Q3RF",
[Q3RF: P&L ALL Ratios Table [%]]],
"Budget",
[Budget: P&L All Ratios Table [%]]],
"ProForma",
[ProForma - 1: P&L ALL Ratios Table [%]]],
BLANK()
)
)
[QXRF: P&L All Table [$]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L ALL Table [$]]],
"Q2RF",
[Q2RF: P&L ALL Table [$]]],
"Q3RF",
[Q3RF: P&L ALL Table [$]]],
"Budget",
[Budget: P&L All Table [$]]],
"ProForma",
[ProForma - 1: P&L All Table [$]]],
BLANK()
)
)
[YTD Actuals: P&L All Ratios Table [%]]] =
CALCULATE (
[Actuals: P&L ALL Ratios Table [%]]],
DATESYTD(Calendar_Table[Date])
)
[YTD Actuals: P&L All Table [$]]] =
CALCULATE (
[Actuals: P&L All Table [$]]],
DATESYTD(Calendar_Table[Date])
)

YTD Actuals: P&L SFLICs as [%] of Net Sales

Section titled “YTD Actuals: P&L SFLICs as [%] of Net Sales”
[YTD Actuals: P&L SFLICs as [%]] of Net Sales] =
VAR ReportingType = "CA=ACTUAL"
RETURN
CALCULATE (
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = "AC=6001"
|| FactPnL[Account] = "AC=6002"
|| FactPnL[Account] = "AC=6013"
|| FactPnL[Account] = "AC=6014"
),
DATESYTD ( Calendar_Table[Date] )
)
/ CALCULATE (
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = "AC=5000"
),
DATESYTD ( Calendar_Table[Date] )
)
[YTD Budget: P&L All Ratios Table [%]]] =
CALCULATE (
[Budget: P&L All Ratios Table [%]]],
DATESYTD(Calendar_Table[Date])
)
[YTD Budget: P&L All Table [$]]] =
CALCULATE (
[Budget: P&L All Table [$]]],
DATESYTD(Calendar_Table[Date])
)

YTD Budget: P&L SFLICs as [%] of Net Sales

Section titled “YTD Budget: P&L SFLICs as [%] of Net Sales”
[YTD Budget: P&L SFLICs as [%]] of Net Sales] =
VAR ReportingType = "CA=BUDGET"
VAR InputPeriod = "12"
RETURN
CALCULATE (
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = "AC=6001"
|| FactPnL[Account] = "AC=6002"
|| FactPnL[Account] = "AC=6013"
|| FactPnL[Account] = "AC=6014"
),
DATESYTD ( Calendar_Table[Date] )
)
/ CALCULATE (
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = "AC=5000"
),
DATESYTD ( Calendar_Table[Date] )
)

YTD Primary Measure - ProForma - 1: P&L All Ratios Table [%]

Section titled “YTD Primary Measure - ProForma - 1: P&L All Ratios Table [%]”
[YTD Primary Measure - ProForma - 1: P&L All Ratios Table [%]]] =
[YTD Primary Measure: P&L All Ratios Table [%]]]-[YTD ProForma - 1: P&L All Ratios Table [%]]]

YTD Primary Measure - ProForma - 1: P&L All Table [%]

Section titled “YTD Primary Measure - ProForma - 1: P&L All Table [%]”
[YTD Primary Measure - ProForma - 1: P&L All Table [%]]] =
IFERROR (
( [YTD Primary Measure: P&L All Table [$]]] - [YTD ProForma - 1: P&L All Table [$]]] )
/ [YTD ProForma - 1: P&L All Table [$]]],
"-"
)

YTD Primary Measure - ProForma - 1: P&L All Table [$]

Section titled “YTD Primary Measure - ProForma - 1: P&L All Table [$]”
[YTD Primary Measure - ProForma - 1: P&L All Table [$]]] =
[YTD Primary Measure: P&L All Table [$]]]-[YTD ProForma - 1: P&L All Table [$]]]

YTD Primary Measure - ProForma - 1: SFLICs as [%] of Net Sales

Section titled “YTD Primary Measure - ProForma - 1: SFLICs as [%] of Net Sales”
[YTD Primary Measure - ProForma - 1: SFLICs as [%]] of Net Sales] =
[YTD Primary Measure: SFLICs as [%]] of Net Sales] - [YTD ProForma - 1: P&L SFLICs as [%]] of Net Sales]

YTD Primary Measure - QXRF: P&L All Ratios Table [%]

Section titled “YTD Primary Measure - QXRF: P&L All Ratios Table [%]”
[YTD Primary Measure - QXRF: P&L All Ratios Table [%]]] =
[YTD Primary Measure: P&L All Ratios Table [%]]]-[YTD QXRF: P&L All Ratios Table [%]]]

YTD Primary Measure - QXRF: P&L All Table [%]

Section titled “YTD Primary Measure - QXRF: P&L All Table [%]”
[YTD Primary Measure - QXRF: P&L All Table [%]]] =
IFERROR (
( [YTD Primary Measure: P&L All Table [$]]] - [YTD QXRF: P&L All Table [$]]] )
/ [YTD QXRF: P&L All Table [$]]],
"-"
)

YTD Primary Measure - QXRF: P&L All Table [$]

Section titled “YTD Primary Measure - QXRF: P&L All Table [$]”
[YTD Primary Measure - QXRF: P&L All Table [$]]] =
[YTD Primary Measure: P&L All Table [$]]] - [YTD QXRF: P&L All Table [$]]]

YTD Primary Measure - QXRF: SFLICs as [%]] of Net Sales

Section titled “YTD Primary Measure - QXRF: SFLICs as [%]] of Net Sales”
[YTD Primary Measure - QXRF: SFLICs as [%]] of Net Sales] =
[YTD Primary Measure: SFLICs as [%]] of Net Sales] - [YTD QXRF: SFLICs as [%]] of Net Sales]

YTD Primary Measure: P&L All Ratios Table [%]

Section titled “YTD Primary Measure: P&L All Ratios Table [%]”
[YTD Primary Measure: P&L All Ratios Table [%]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[YTD Q1RF: P&L All Ratios Table [%]]],
"Q2RF",
[YTD Q2RF: P&L All Ratios Table [%]]],
"Q3RF",
[YTD Q3RF: P&L All Ratios Table [%]]],
"Budget",
[YTD Budget: P&L All Ratios Table [%]]],
"Actuals",
[YTD Actuals: P&L All Ratios Table [%]]],
"ProForma",
[YTD ProForma - 1: P&L All Ratios Table [%]]],
BLANK()
)
)
[YTD Primary Measure: P&L All Table [$]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[YTD Q1RF: P&L All Table [$]]],
"Q2RF",
[YTD Q2RF: P&L All Table [$]]],
"Q3RF",
[YTD Q3RF: P&L All Table [$]]],
"Budget",
[YTD Budget: P&L All Table [$]]],
"Actuals",
[YTD Actuals: P&L All Table [$]]],
"ProForma",
[YTD ProForma - 1: P&L All Table [$]]],
BLANK()
)
)

YTD Primary Measure: SFLICs as [%]] of Net Sales

Section titled “YTD Primary Measure: SFLICs as [%]] of Net Sales”
[YTD Primary Measure: SFLICs as [%]] of Net Sales] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[YTD Q1RF: P&L SFLICs as [%]] of Net Sales],
"Q2RF",
[YTD Q2RF: P&L SFLICs as [%]] of Net Sales],
"Q3RF",
[YTD Q3RF: P&L SFLICs as [%]] of Net Sales],
"Budget",
[YTD Budget: P&L SFLICs as [%]] of Net Sales],
"Actuals",
[YTD Actuals: P&L SFLICs as [%]] of Net Sales],
"ProForma",
[YTD ProForma - 1: P&L SFLICs as [%]] of Net Sales],
BLANK()
)
)

YTD ProForma - 1: P&L All Ratios Table [%]

Section titled “YTD ProForma - 1: P&L All Ratios Table [%]”
[YTD ProForma - 1: P&L All Ratios Table [%]]] =
CALCULATE (
[ProForma - 1: P&L ALL Ratios Table [%]]],
DATESYTD(Calendar_Table[Date])
)
[YTD ProForma - 1: P&L All Table [$]]] =
CALCULATE (
[ProForma - 1: P&L All Table [$]]],
DATESYTD(Calendar_Table[Date])
)

YTD ProForma - 1: P&L SFLICs as [%] of Net Sales

Section titled “YTD ProForma - 1: P&L SFLICs as [%] of Net Sales”
[YTD ProForma - 1: P&L SFLICs as [%]] of Net Sales] =
VAR ReportingType = "CA=PROFORMA"
RETURN
CALCULATE (
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
SAMEPERIODLASTYEAR(Calendar_Table[Date]),
FactPnL[Account] = "AC=6001"
|| FactPnL[Account] = "AC=6002"
|| FactPnL[Account] = "AC=6013"
|| FactPnL[Account] = "AC=6014"
),
DATESYTD ( Calendar_Table[Date] )
)
/ CALCULATE (
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
SAMEPERIODLASTYEAR(Calendar_Table[Date]),
FactPnL[Account] = "AC=5000"
),
DATESYTD ( Calendar_Table[Date] )
)
[YTD Q1RF: P&L All Ratios Table [%]]] =
CALCULATE (
[Q1RF: P&L ALL Ratios Table [%]]],
DATESYTD(Calendar_Table[Date])
)
[YTD Q1RF: P&L All Table [$]]] =
CALCULATE (
[Q1RF: P&L ALL Table [$]]],
DATESYTD(Calendar_Table[Date])
)
[YTD Q1RF: P&L SFLICs as [%]] of Net Sales] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "03"
RETURN
CALCULATE (
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = "AC=6001"
|| FactPnL[Account] = "AC=6002"
|| FactPnL[Account] = "AC=6013"
|| FactPnL[Account] = "AC=6014"
),
DATESYTD ( Calendar_Table[Date] )
)
/ CALCULATE (
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = "AC=5000"
),
DATESYTD ( Calendar_Table[Date] )
)
[YTD Q2RF: P&L All Ratios Table [%]]] =
CALCULATE (
[Q2RF: P&L ALL Ratios Table [%]]],
DATESYTD(Calendar_Table[Date])
)
[YTD Q2RF: P&L All Table [$]]] =
CALCULATE (
[Q2RF: P&L ALL Table [$]]],
DATESYTD(Calendar_Table[Date])
)
[YTD Q2RF: P&L SFLICs as [%]] of Net Sales] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "06"
RETURN
CALCULATE (
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = "AC=6001"
|| FactPnL[Account] = "AC=6002"
|| FactPnL[Account] = "AC=6013"
|| FactPnL[Account] = "AC=6014"
),
DATESYTD ( Calendar_Table[Date] )
)
/ CALCULATE (
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = "AC=5000"
),
DATESYTD ( Calendar_Table[Date] )
)
[YTD Q3RF: P&L All Ratios Table [%]]] =
CALCULATE (
[Q3RF: P&L ALL Ratios Table [%]]],
DATESYTD(Calendar_Table[Date])
)
[YTD Q3RF: P&L All Table [$]]] =
CALCULATE (
[Q3RF: P&L ALL Table [$]]],
DATESYTD(Calendar_Table[Date])
)
[YTD Q3RF: P&L SFLICs as [%]] of Net Sales] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "09"
RETURN
CALCULATE (
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = "AC=6001"
|| FactPnL[Account] = "AC=6002"
|| FactPnL[Account] = "AC=6013"
|| FactPnL[Account] = "AC=6014"
),
DATESYTD ( Calendar_Table[Date] )
)
/ CALCULATE (
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = "AC=5000"
),
DATESYTD ( Calendar_Table[Date] )
)
[YTD QXRF: P&L All Ratios Table [%]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[YTD Q1RF: P&L All Ratios Table [%]]],
"Q2RF",
[YTD Q2RF: P&L All Ratios Table [%]]],
"Q3RF",
[YTD Q3RF: P&L All Ratios Table [%]]],
"Budget",
[YTD Budget: P&L All Ratios Table [%]]],
"ProForma",
[YTD ProForma - 1: P&L All Ratios Table [%]]],
BLANK()
)
)
[YTD QXRF: P&L All Table [$]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[YTD Q1RF: P&L All Table [$]]],
"Q2RF",
[YTD Q2RF: P&L All Table [$]]],
"Q3RF",
[YTD Q3RF: P&L All Table [$]]],
"Budget",
[YTD Budget: P&L All Table [$]]],
"ProForma",
[YTD ProForma - 1: P&L All Table [$]]],
BLANK()
)
)
[YTD QXRF: SFLICs as [%]] of Net Sales] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[YTD Q1RF: P&L SFLICs as [%]] of Net Sales],
"Q2RF",
[YTD Q2RF: P&L SFLICs as [%]] of Net Sales],
"Q3RF",
[YTD Q3RF: P&L SFLICs as [%]] of Net Sales],
"Budget",
[YTD Budget: P&L SFLICs as [%]] of Net Sales],
"ProForma",
[YTD ProForma - 1: P&L SFLICs as [%]] of Net Sales],
BLANK()
)
)

Actuals: P&L Consultants/Freelances/Temps [$]

Section titled “Actuals: P&L Consultants/Freelances/Temps [$]”
[Actuals: P&L Consultants/Freelances/Temps [$]]] =
VAR ReportingType = "CA=ACTUAL"
VAR Account = "AC=6002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[Actuals: P&L Inter-Company ToS INTER [$]]] =
VAR ReportingType = "CA=ACTUAL"
VAR Account = "AC=6014"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[Actuals: P&L Inter-Company ToS INTRA [$]]] =
VAR ReportingType = "CA=ACTUAL"
VAR Account = "AC=6013"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[Actuals: P&L Margin [%]]] =
IFERROR(
[Actuals: P&L PBOP [$]]]/
[Actuals: P&L Net Sales [$]]],0)
[Actuals: P&L Net Sales [$]]] =
VAR ReportingType = "CA=ACTUAL"
VAR Account = "AC=5000"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[Actuals: P&L PBOP [$]]] =
VAR ReportingType = "CA=ACTUAL"
VAR Account = "AC=7001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[Actuals: P&L SFLICs [$]]] =
VAR ReportingType = "CA=ACTUAL"
VAR Account = "AC=7005"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[Actuals: P&L SFLICs / Net Sales [%]]] =
IFERROR(
[Actuals: P&L SFLICs [$]]]/
[Actuals: P&L Net Sales [$]]], BLANK())
[Actuals: P&L Staff Costs [$]]] =
VAR ReportingType = "CA=ACTUAL"
VAR Account = "AC=7002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[Actuals: P&L Staff Salaries [$]]] =
VAR ReportingType = "CA=ACTUAL"
VAR Account = "AC=6001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)

Budget: P&L Consultants/Freelances/Temps [$]

Section titled “Budget: P&L Consultants/Freelances/Temps [$]”
[Budget: P&L Consultants/Freelances/Temps [$]]] =
VAR ReportingType = "CA=BUDGET"
VAR InputPeriod = "12"
VAR Account = "AC=6002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Budget: P&L Inter-Company ToS INTER [$]]] =
VAR ReportingType = "CA=BUDGET"
VAR InputPeriod = "12"
VAR Account = "AC=6014"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Budget: P&L Inter-Company ToS INTRA [$]]] =
VAR ReportingType = "CA=BUDGET"
VAR InputPeriod = "12"
VAR Account = "AC=6013"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Budget: P&L Margin [%]]] =
IFERROR(
[Budget: P&L PBOP [$]]]/
[Budget: P&L Net Sales [$]]],0)
[Budget: P&L Net Sales [$]]] =
VAR ReportingType = "CA=BUDGET"
VAR InputPeriod = "12"
VAR Account = "AC=5000"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Budget: P&L PBOP [$]]] =
VAR ReportingType = "CA=BUDGET"
VAR InputPeriod = "12"
VAR Account = "AC=7001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Budget: P&L SFLICs [$]]] =
VAR ReportingType = "CA=BUDGET"
VAR InputPeriod = "12"
VAR Account = "AC=7005"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Budget: P&L SFLICs / Net Sales [%]]] =
IFERROR(
[Budget: P&L SFLICs [$]]]/
[Budget: P&L Net Sales [$]]], BLANK())
[Budget: P&L Staff Costs [$]]] =
VAR ReportingType = "CA=BUDGET"
VAR InputPeriod = "12"
VAR Account = "AC=7002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Budget: P&L Staff Salaries [$]]] =
VAR ReportingType = "CA=BUDGET"
VAR InputPeriod = "12"
VAR Account = "AC=6001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Conversion YTD: P&L (Measure - QXRF) [%]]] =
CALCULATE([Conversion: P&L (Measure - QXRF) [%]]], DATESYTD(Calendar_Table[Date]))
[Conversion: P&L (Measure - QXRF) [%]]] =
IFERROR(
[Primary Measure - QXRF: P&L PBOP [$]]]/
ABS([Primary Measure - QXRF: P&L Net Sales [$]]]), BLANK())
FLAG =
IF(
[Primary Measure - ProForma - 1: P&L Net Sales [%]]] = BLANK()
&& [Primary Measure - ProForma - 1: P&L SFLICs [%]]] = BLANK()
&& [Primary Measure - ProForma - 1: P&L Staff Costs [%]]] = BLANK()
&& [Primary Measure - ProForma - 1: P&L Staff Costs Ratio [%]]] = BLANK ()
&& [Primary Measure - ProForma - 1: P&L PBOP [%]]] = BLANK()
&& [Primary Measure: P&L Margin [%]]] = BLANK()
&& [Primary Measure - ProForma - 1: P&L Margin [%]]] = BLANK()
, BLANK(),
IF (
( [Primary Measure - ProForma - 1: P&L Net Sales [%]]]
+ [Primary Measure - ProForma - 1: P&L SFLICs [%]]]
>= 0 )
&& ( [Primary Measure - ProForma - 1: P&L Staff Costs Ratio [%]]] >= 0 )
&& ( [Primary Measure - ProForma - 1: P&L Margin [%]]] >= 0 ),
0,
1
)
)

Primary Measure - ProForma - 1: P&L Inter-Company ToS INTER [$]

Section titled “Primary Measure - ProForma - 1: P&L Inter-Company ToS INTER [$]”
[Primary Measure - ProForma - 1: P&L Inter-Company ToS INTER [$]]] =
[Primary Measure: P&L Inter-Company ToS INTER [$]]] - [ProForma - 1: P&L Inter-Company ToS INTER [$]]]

Primary Measure - ProForma - 1: P&L Inter-Company ToS INTRA [$]

Section titled “Primary Measure - ProForma - 1: P&L Inter-Company ToS INTRA [$]”
[Primary Measure - ProForma - 1: P&L Inter-Company ToS INTRA [$]]] =
[Primary Measure: P&L Inter-Company ToS INTRA [$]]] - [ProForma - 1: P&L Inter-Company ToS INTRA [$]]]

Primary Measure - ProForma - 1: P&L Margin [%]

Section titled “Primary Measure - ProForma - 1: P&L Margin [%]”
[Primary Measure - ProForma - 1: P&L Margin [%]]] =
[Primary Measure: P&L Margin [%]]] - [ProForma - 1: P&L Margin [%]]]

Primary Measure - ProForma - 1: P&L Net Sales [%]

Section titled “Primary Measure - ProForma - 1: P&L Net Sales [%]”
[Primary Measure - ProForma - 1: P&L Net Sales [%]]] =
IFERROR(
([Primary Measure - ProForma - 1: P&L Net Sales [$]]]) / [ProForma - 1: P&L Net Sales [$]]], "-")

Primary Measure - ProForma - 1: P&L Net Sales [$]

Section titled “Primary Measure - ProForma - 1: P&L Net Sales [$]”
[Primary Measure - ProForma - 1: P&L Net Sales [$]]] =
[Primary Measure: P&L Net Sales [$]]] - [ProForma - 1: P&L Net Sales [$]]]

Primary Measure - ProForma - 1: P&L PBOP [%]

Section titled “Primary Measure - ProForma - 1: P&L PBOP [%]”
[Primary Measure - ProForma - 1: P&L PBOP [%]]] =
IFERROR(
([Primary Measure - ProForma - 1: P&L PBOP [$]]]) / [ProForma - 1: P&L PBOP [$]]], "-")

Primary Measure - ProForma - 1: P&L PBOP [$]

Section titled “Primary Measure - ProForma - 1: P&L PBOP [$]”
[Primary Measure - ProForma - 1: P&L PBOP [$]]] =
[Primary Measure: P&L PBOP [$]]] - [ProForma - 1: P&L PBOP [$]]]

Primary Measure - ProForma - 1: P&L SFLICs [%]

Section titled “Primary Measure - ProForma - 1: P&L SFLICs [%]”
[Primary Measure - ProForma - 1: P&L SFLICs [%]]] =
IFERROR(
[Primary Measure - ProForma - 1: P&L SFLICs [$]]] / [ProForma - 1: P&L SFLICs [$]]], "-")

Primary Measure - ProForma - 1: P&L SFLICs [$]

Section titled “Primary Measure - ProForma - 1: P&L SFLICs [$]”
[Primary Measure - ProForma - 1: P&L SFLICs [$]]] =
[ProForma - 1: P&L SFLICs [$]]] - [Primary Measure: P&L SFLICs [$]]]

Primary Measure - ProForma - 1: P&L Staff Costs [%]

Section titled “Primary Measure - ProForma - 1: P&L Staff Costs [%]”
[Primary Measure - ProForma - 1: P&L Staff Costs [%]]] =
IFERROR(
([Primary Measure - ProForma - 1: P&L Staff Costs [$]]]) / [ProForma - 1: P&L Staff Costs [$]]], "-")

Primary Measure - ProForma - 1: P&L Staff Costs [$]

Section titled “Primary Measure - ProForma - 1: P&L Staff Costs [$]”
[Primary Measure - ProForma - 1: P&L Staff Costs [$]]] =
[ProForma - 1: P&L Staff Costs [$]]] - [Primary Measure: P&L Staff Costs [$]]]

Primary Measure - ProForma - 1: P&L Staff Costs Ratio [%]

Section titled “Primary Measure - ProForma - 1: P&L Staff Costs Ratio [%]”
[Primary Measure - ProForma - 1: P&L Staff Costs Ratio [%]]] =
IFERROR(
([ProForma - 1: P&L Staff Costs [$]]] / [ProForma - 1: P&L Net Sales [$]]]), "-") -
IFERROR(
([Primary Measure: P&L Staff Costs [$]]] / [Primary Measure: P&L Net Sales [$]]]), "-")

Primary Measure - QXRF: P&L Inter-Company ToS INTER [$]

Section titled “Primary Measure - QXRF: P&L Inter-Company ToS INTER [$]”
[Primary Measure - QXRF: P&L Inter-Company ToS INTER [$]]] =
[Primary Measure: P&L Inter-Company ToS INTER [$]]] - [QXRF: P&L Inter-Company ToS INTER [$]]]

Primary Measure - QXRF: P&L Inter-Company ToS INTRA [$]

Section titled “Primary Measure - QXRF: P&L Inter-Company ToS INTRA [$]”
[Primary Measure - QXRF: P&L Inter-Company ToS INTRA [$]]] =
[Primary Measure: P&L Inter-Company ToS INTRA [$]]] - [QXRF: P&L Inter-Company ToS INTRA [$]]]
[Primary Measure - QXRF: P&L Margin [%]]] =
[Primary Measure: P&L Margin [%]]] - [QXRF: P&L Margin [%]]]
[Primary Measure - QXRF: P&L Net Sales [%]]] =
DIVIDE([Primary Measure - QXRF: P&L Net Sales [$]]], [QXRF: P&L Net Sales [$]]],0)
[Primary Measure - QXRF: P&L PBOP [%]]] =
DIVIDE([Primary Measure - QXRF: P&L PBOP [$]]], [QXRF: P&L PBOP [$]]],0)
[Primary Measure - QXRF: P&L PBOP [$]]] =
[Primary Measure: P&L PBOP [$]]] - [QXRF: P&L PBOP [$]]]
[Primary Measure - QXRF: P&L SFLICs [$]]] =
[Primary Measure: P&L SFLICs [$]]] - [QXRF: P&L SFLICs [$]]]

Primary Measure - QXRF: P&L SFLICs / Net Sales [%]

Section titled “Primary Measure - QXRF: P&L SFLICs / Net Sales [%]”
[Primary Measure - QXRF: P&L SFLICs / Net Sales [%]]] =
[Primary Measure: P&L SFLICs / Net Sales [%]]] - [QXRF: P&L SFLICs / Net Sales [%]]]

Primary Measure - QXRF: P&L Staff Costs [$]

Section titled “Primary Measure - QXRF: P&L Staff Costs [$]”
[Primary Measure - QXRF: P&L Staff Costs [$]]] =
[Primary Measure: P&L Staff Costs [$]]] - [QXRF: P&L Staff Costs [$]]]
[Primary Measure YTD: P&L Margin [%]]] =
CALCULATE([Primary Measure: P&L Margin [%]]], DATESYTD(Calendar_Table[Date]))

Primary Measure: P&L Consultants/Freelances/Temps [$]

Section titled “Primary Measure: P&L Consultants/Freelances/Temps [$]”
[Primary Measure: P&L Consultants/Freelances/Temps [$]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L Consultants/Freelances/Temps [$]]],
"Q2RF",
[Q2RF: P&L Consultants/Freelances/Temps [$]]],
"Q3RF",
[Q3RF: P&L Consultants/Freelances/Temps [$]]],
"Budget",
[Budget: P&L Consultants/Freelances/Temps [$]]],
"Actuals",
[Actuals: P&L Consultants/Freelances/Temps [$]]],
"ProForma",
[ProForma - 1: P&L Consultants/Freelances/Temps [$]]],
BLANK()
)
)

Primary Measure: P&L Inter-Company ToS INTER [$]

Section titled “Primary Measure: P&L Inter-Company ToS INTER [$]”
[Primary Measure: P&L Inter-Company ToS INTER [$]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L Inter-Company ToS INTER [$]]],
"Q2RF",
[Q2RF: P&L Inter-Company ToS INTER [$]]],
"Q3RF",
[Q3RF: P&L Inter-Company ToS INTER [$]]],
"Budget",
[Budget: P&L Inter-Company ToS INTER [$]]],
"Actuals",
[Actuals: P&L Inter-Company ToS INTER [$]]],
"ProForma",
[ProForma - 1: P&L Inter-Company ToS INTER [$]]],
BLANK()
)
)

Primary Measure: P&L Inter-Company ToS INTRA [$]

Section titled “Primary Measure: P&L Inter-Company ToS INTRA [$]”
[Primary Measure: P&L Inter-Company ToS INTRA [$]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L Inter-Company ToS INTRA [$]]],
"Q2RF",
[Q2RF: P&L Inter-Company ToS INTRA [$]]],
"Q3RF",
[Q3RF: P&L Inter-Company ToS INTRA [$]]],
"Budget",
[Budget: P&L Inter-Company ToS INTRA [$]]],
"Actuals",
[Actuals: P&L Inter-Company ToS INTRA [$]]],
"ProForma",
[ProForma - 1: P&L Inter-Company ToS INTRA [$]]],
BLANK()
)
)

Primary Measure: P&L Intercompany ToS INTRA & INTER [$]

Section titled “Primary Measure: P&L Intercompany ToS INTRA & INTER [$]”
[Primary Measure: P&L Intercompany ToS INTRA & INTER [$]]] =
[Primary Measure: P&L Inter-Company ToS INTRA [$]]] + [Primary Measure: P&L Inter-Company ToS INTER [$]]]
[Primary Measure: P&L Margin [%]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L Margin [%]]],
"Q2RF",
[Q2RF: P&L Margin [%]]],
"Q3RF",
[Q3RF: P&L Margin [%]]],
"Budget",
[Budget: P&L Margin [%]]],
"Actuals",
[Actuals: P&L Margin [%]]],
"ProForma",
[ProForma - 1: P&L Margin [%]]],
BLANK()
)
)
[Primary Measure: P&L Net Sales [$]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L Net Sales [$]]],
"Q2RF",
[Q2RF: P&L Net Sales [$]]],
"Q3RF",
[Q3RF: P&L Net Sales [$]]],
"Budget",
[Budget: P&L Net Sales [$]]],
"Actuals",
[Actuals: P&L Net Sales [$]]],
"ProForma",
[ProForma - 1: P&L Net Sales [$]]],
BLANK()
)
)
[Primary Measure: P&L PBOP [$]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L PBOP [$]]],
"Q2RF",
[Q2RF: P&L PBOP [$]]],
"Q3RF",
[Q3RF: P&L PBOP [$]]],
"Budget",
[Budget: P&L PBOP [$]]],
"Actuals",
[Actuals: P&L PBOP [$]]],
"ProForma",
[ProForma - 1: P&L PBOP [$]]],
BLANK()
)
)
[Primary Measure: P&L SFLICs [$]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L SFLICs [$]]],
"Q2RF",
[Q2RF: P&L SFLICs [$]]],
"Q3RF",
[Q3RF: P&L SFLICs [$]]],
"Budget",
[Budget: P&L SFLICs [$]]],
"Actuals",
[Actuals: P&L SFLICs [$]]],
"ProForma",
[ProForma - 1: P&L SFLICs [$]]],
BLANK()
)
)

Primary Measure: P&L SFLICs / Net Sales [%]

Section titled “Primary Measure: P&L SFLICs / Net Sales [%]”
[Primary Measure: P&L SFLICs / Net Sales [%]]] =
IFERROR(
[Primary Measure: P&L SFLICs [$]]]/
[Primary Measure: P&L Net Sales [$]]], BLANK())
[Primary Measure: P&L Staff Costs [$]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L Staff Costs [$]]],
"Q2RF",
[Q2RF: P&L Staff Costs [$]]],
"Q3RF",
[Q3RF: P&L Staff Costs [$]]],
"Budget",
[Budget: P&L Staff Costs [$]]],
"Actuals",
[Actuals: P&L Staff Costs [$]]],
"ProForma",
[ProForma - 1: P&L Staff Costs [$]]],
BLANK()
)
)
[Primary Measure: P&L Staff Salaries [$]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L Staff Salaries [$]]],
"Q2RF",
[Q2RF: P&L Staff Salaries [$]]],
"Q3RF",
[Q3RF: P&L Staff Salaries [$]]],
"Budget",
[Budget: P&L Staff Salaries [$]]],
"Actuals",
[Actuals: P&L Staff Salaries [$]]],
"ProForma",
[ProForma - 1: P&L Staff Salaries [$]]],
BLANK()
)
)

ProForma - 1: P&L Consultants/Freelances/Temps [$]

Section titled “ProForma - 1: P&L Consultants/Freelances/Temps [$]”
[ProForma - 1: P&L Consultants/Freelances/Temps [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=6002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)

ProForma - 1: P&L Inter-Company ToS INTER [$]

Section titled “ProForma - 1: P&L Inter-Company ToS INTER [$]”
[ProForma - 1: P&L Inter-Company ToS INTER [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=6014"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)

ProForma - 1: P&L Inter-Company ToS INTRA [$]

Section titled “ProForma - 1: P&L Inter-Company ToS INTRA [$]”
[ProForma - 1: P&L Inter-Company ToS INTRA [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=6013"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
[ProForma - 1: P&L Margin [%]]] =
IFERROR(
[ProForma - 1: P&L PBOP [$]]]/
[ProForma - 1: P&L Net Sales [$]]],0)
[ProForma - 1: P&L Net Sales [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=5000"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
[ProForma - 1: P&L PBOP [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=7001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
[ProForma - 1: P&L SFLICs [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=7005"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
[ProForma - 1: P&L SFLICs / Net Sales [%]]] =
IFERROR(
[ProForma - 1: P&L SFLICs [$]]]/
[ProForma - 1: P&L Net Sales [$]]], BLANK())
[ProForma - 1: P&L Staff Costs [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=7002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
[ProForma - 1: P&L Staff Salaries [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=6001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD ( SAMEPERIODLASTYEAR ( Calendar_Table[Date] ) )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR (
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
SAMEPERIODLASTYEAR ( Calendar_Table[Date] )
)
)

ProForma: P&L Consultants/Freelances/Temps [$]

Section titled “ProForma: P&L Consultants/Freelances/Temps [$]”
[ProForma: P&L Consultants/Freelances/Temps [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=6002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD (Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD (Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD (Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[ProForma: P&L Inter-Company ToS INTER [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=6014"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD (Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD (Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD (Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[ProForma: P&L Inter-Company ToS INTRA [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=6013"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD (Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD (Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD (Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[ProForma: P&L Margin [%]]] =
IFERROR(
[ProForma: P&L PBOP [$]]]/
[ProForma: P&L Net Sales [$]]],0)
[ProForma: P&L Net Sales [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=5000"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD (Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD (Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD (Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[ProForma: P&L PBOP [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=7001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD (Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD (Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD (Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[ProForma: P&L SFLICs [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=7005"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD (Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD (Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD (Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[ProForma: P&L SFLICs / Net Sales [%]]] =
IFERROR(
[ProForma: P&L SFLICs [$]]]/
[ProForma: P&L Net Sales [$]]], BLANK())
[ProForma: P&L Staff Costs [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=7002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD (Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD (Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD (Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
[ProForma: P&L Staff Salaries [$]]] =
VAR ReportingType = "CA=PROFORMA"
VAR Account = "AC=6001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESMTD (Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESQTD (Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESYTD (Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Account] = Account
)
)

Q1RF: P&L Consultants/Freelances/Temps [$]

Section titled “Q1RF: P&L Consultants/Freelances/Temps [$]”
[Q1RF: P&L Consultants/Freelances/Temps [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "03"
VAR Account = "AC=6002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q1RF: P&L Inter-Company ToS INTER [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "03"
VAR Account = "AC=6014"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q1RF: P&L Inter-Company ToS INTRA [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "03"
VAR Account = "AC=6013"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q1RF: P&L Margin [%]]] =
IFERROR(
[Q1RF: P&L PBOP [$]]]/
[Q1RF: P&L Net Sales [$]]],0)
[Q1RF: P&L Net Sales [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "03"
VAR Account = "AC=5000"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q1RF: P&L PBOP [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "03"
VAR Account = "AC=7001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q1RF: P&L SFLICs [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "03"
VAR Account = "AC=7005"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q1RF: P&L SFLICs / Net Sales [%]]] =
IFERROR(
[Q1RF: P&L SFLICs [$]]]/
[Q1RF: P&L Net Sales [$]]], BLANK())
[Q1RF: P&L Staff Costs [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "03"
VAR Account = "AC=7002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q1RF: P&L Staff Salaries [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "03"
VAR Account = "AC=6001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)

Q2RF: P&L Consultants/Freelances/Temps [$]

Section titled “Q2RF: P&L Consultants/Freelances/Temps [$]”
[Q2RF: P&L Consultants/Freelances/Temps [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "06"
VAR Account = "AC=6002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q2RF: P&L Inter-Company ToS INTER [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "06"
VAR Account = "AC=6014"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q2RF: P&L Inter-Company ToS INTRA [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "06"
VAR Account = "AC=6013"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q2RF: P&L Margin [%]]] =
IFERROR(
[Q2RF: P&L PBOP [$]]]/
[Q2RF: P&L Net Sales [$]]],0)
[Q2RF: P&L Net Sales [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "06"
VAR Account = "AC=5000"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q2RF: P&L PBOP [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "06"
VAR Account = "AC=7001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q2RF: P&L SFLICs [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "06"
VAR Account = "AC=7005"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q2RF: P&L SFLICs / Net Sales [%]]] =
IFERROR(
[Q2RF: P&L SFLICs [$]]]/
[Q2RF: P&L Net Sales [$]]], BLANK())
[Q2RF: P&L Staff Costs [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "06"
VAR Account = "AC=7002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q2RF: P&L Staff Salaries [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "06"
VAR Account = "AC=6001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)

Q3RF: P&L Consultants/Freelances/Temps [$]

Section titled “Q3RF: P&L Consultants/Freelances/Temps [$]”
[Q3RF: P&L Consultants/Freelances/Temps [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "09"
VAR Account = "AC=6002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q3RF: P&L Inter-Company ToS INTER [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "09"
VAR Account = "AC=6014"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q3RF: P&L Inter-Company ToS INTRA [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "09"
VAR Account = "AC=6013"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q3RF: P&L Margin [%]]] =
IFERROR(
[Q3RF: P&L PBOP [$]]]/
[Q3RF: P&L Net Sales [$]]],0)
[Q3RF: P&L Net Sales [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "09"
VAR Account = "AC=5000"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q3RF: P&L PBOP [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "09"
VAR Account = "AC=7001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q3RF: P&L SFLICs [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "09"
VAR Account = "AC=7005"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q3RF: P&L SFLICs / Net Sales [%]]] =
IFERROR(
[Q3RF: P&L SFLICs [$]]]/
[Q3RF: P&L Net Sales [$]]], BLANK())
[Q3RF: P&L Staff Costs [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "09"
VAR Account = "AC=7002"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
[Q3RF: P&L Staff Salaries [$]]] =
VAR ReportingType = "CA=FORECAST"
VAR InputPeriod = "09"
VAR Account = "AC=6001"
RETURN
IF (
ISFILTERED ( 'Time Period'[Period] ),
IF (
HASONEVALUE ( 'Time Period'[Period] ),
SWITCH (
VALUES ( 'Time Period'[Period] ),
"MTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESMTD ( Calendar_Table[Date] )
),
"QTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESQTD ( Calendar_Table[Date] )
),
"YTD", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESYTD ( Calendar_Table[Date] )
),
"Last Quarter", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
DAY
)
),
"Last 12 Months", CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account,
DATESINPERIOD (
Calendar_Table[Date],
MAX ( Calendar_Table[Date] ),
VALUES ( 'Time Period'[Offset] ),
MONTH
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)
),
CALCULATE (
SUM ( FactPnL[Value] ),
FactPnL[Reporting Type] = ReportingType,
FactPnL[Data Input Period] = InputPeriod,
FactPnL[Account] = Account
)
)

QXRF: P&L Consultants/Freelances/Temps [$]

Section titled “QXRF: P&L Consultants/Freelances/Temps [$]”
[QXRF: P&L Consultants/Freelances/Temps [$]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L Consultants/Freelances/Temps [$]]],
"Q2RF",
[Q2RF: P&L Consultants/Freelances/Temps [$]]],
"Q3RF",
[Q3RF: P&L Consultants/Freelances/Temps [$]]],
"Budget",
[Budget: P&L Consultants/Freelances/Temps [$]]],
"ProForma",
[ProForma - 1: P&L Consultants/Freelances/Temps [$]]],
BLANK()
)
)
[QXRF: P&L Inter-Company ToS INTER [$]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L Inter-Company ToS INTER [$]]],
"Q2RF",
[Q2RF: P&L Inter-Company ToS INTER [$]]],
"Q3RF",
[Q3RF: P&L Inter-Company ToS INTER [$]]],
"Budget",
[Budget: P&L Inter-Company ToS INTER [$]]],
"ProForma",
[ProForma - 1: P&L Inter-Company ToS INTER [$]]],
BLANK()
)
)
[QXRF: P&L Inter-Company ToS INTRA [$]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L Inter-Company ToS INTRA [$]]],
"Q2RF",
[Q2RF: P&L Inter-Company ToS INTRA [$]]],
"Q3RF",
[Q3RF: P&L Inter-Company ToS INTRA [$]]],
"Budget",
[Budget: P&L Inter-Company ToS INTRA [$]]],
"ProForma",
[ProForma - 1: P&L Inter-Company ToS INTRA [$]]],
BLANK()
)
)
[QXRF: P&L Margin [%]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L Margin [%]]],
"Q2RF",
[Q2RF: P&L Margin [%]]],
"Q3RF",
[Q3RF: P&L Margin [%]]],
"Budget",
[Budget: P&L Margin [%]]],
"ProForma",
[ProForma - 1: P&L Margin [%]]],
BLANK()
)
)
[QXRF: P&L Net Sales [$]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L Net Sales [$]]],
"Q2RF",
[Q2RF: P&L Net Sales [$]]],
"Q3RF",
[Q3RF: P&L Net Sales [$]]],
"Budget",
[Budget: P&L Net Sales [$]]],
"ProForma",
[ProForma - 1: P&L Net Sales [$]]],
BLANK()
)
)
[QXRF: P&L PBOP [$]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L PBOP [$]]],
"Q2RF",
[Q2RF: P&L PBOP [$]]],
"Q3RF",
[Q3RF: P&L PBOP [$]]],
"Budget",
[Budget: P&L PBOP [$]]],
"ProForma",
[ProForma - 1: P&L PBOP [$]]],
BLANK()
)
)
[QXRF: P&L SFLICs [$]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L SFLICs [$]]],
"Q2RF",
[Q2RF: P&L SFLICs [$]]],
"Q3RF",
[Q3RF: P&L SFLICs [$]]],
"Budget",
[Budget: P&L SFLICs [$]]],
"ProForma",
[ProForma - 1: P&L SFLICs [$]]],
BLANK()
)
)
[QXRF: P&L SFLICs / Net Sales [%]]] =
IFERROR(
[QXRF: P&L SFLICs [$]]]/
[QXRF: P&L Net Sales [$]]], BLANK())
[QXRF: P&L Staff Costs [$]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L Staff Costs [$]]],
"Q2RF",
[Q2RF: P&L Staff Costs [$]]],
"Q3RF",
[Q3RF: P&L Staff Costs [$]]],
"Budget",
[Budget: P&L Staff Costs [$]]],
"ProForma",
[ProForma - 1: P&L Staff Costs [$]]],
BLANK()
)
)
[QXRF: P&L Staff Salaries [$]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L Staff Salaries [$]]],
"Q2RF",
[Q2RF: P&L Staff Salaries [$]]],
"Q3RF",
[Q3RF: P&L Staff Salaries [$]]],
"Budget",
[Budget: P&L Staff Salaries [$]]],
"ProForma",
[ProForma - 1: P&L Staff Salaries [$]]],
BLANK()
)
)
[Actuals: P&L YTD Margin [%]]] =
CALCULATE([Actuals: P&L Margin [%]]], DATESYTD(Calendar_Table[Date]))
[Actuals: P&L YTD Net Sales [$]]] =
CALCULATE([Actuals: P&L Net Sales [$]]], DATESYTD(Calendar_Table[Date]))
[Actuals: P&L YTD PBOP [$]]] =
CALCULATE([Actuals: P&L PBOP [$]]], DATESYTD(Calendar_Table[Date]))
[Budget: P&L YTD Margin [%]]] =
CALCULATE([Budget: P&L Margin [%]]], DATESYTD(Calendar_Table[Date]))
[Budget: P&L YTD Net Sales [$]]] =
CALCULATE([Budget: P&L Net Sales [$]]], DATESYTD(Calendar_Table[Date]))
[Budget: P&L YTD PBOP [$]]] =
CALCULATE([Budget: P&L PBOP [$]]], DATESYTD(Calendar_Table[Date]))

Primary Measure - ProForma - 1: P&L YTD Margin [%]

Section titled “Primary Measure - ProForma - 1: P&L YTD Margin [%]”
[Primary Measure - ProForma - 1: P&L YTD Margin [%]]] =
IFERROR(
([Primary Measure - ProForma - 1: P&L YTD Margin Delta [%]]]) / [ProForma - 1: P&L YTD Margin [%]]], "-")

Primary Measure - ProForma - 1: P&L YTD Margin Delta [%]

Section titled “Primary Measure - ProForma - 1: P&L YTD Margin Delta [%]”
[Primary Measure - ProForma - 1: P&L YTD Margin Delta [%]]] =
[Primary Measure: P&L YTD Margin [%]]] - [ProForma - 1: P&L YTD Margin [%]]]

Primary Measure - ProForma - 1: P&L YTD Net Sales [%]

Section titled “Primary Measure - ProForma - 1: P&L YTD Net Sales [%]”
[Primary Measure - ProForma - 1: P&L YTD Net Sales [%]]] =
IFERROR(
([Primary Measure - ProForma - 1: P&L YTD Net Sales [$]]]) / [ProForma - 1: P&L YTD Net Sales [$]]], "-")

Primary Measure - ProForma - 1: P&L YTD Net Sales [$]

Section titled “Primary Measure - ProForma - 1: P&L YTD Net Sales [$]”
[Primary Measure - ProForma - 1: P&L YTD Net Sales [$]]] =
[Primary Measure: P&L YTD Net Sales [$]]] - [ProForma - 1: P&L YTD Net Sales [$]]]

Primary Measure - ProForma - 1: P&L YTD PBOP [%]

Section titled “Primary Measure - ProForma - 1: P&L YTD PBOP [%]”
[Primary Measure - ProForma - 1: P&L YTD PBOP [%]]] =
IFERROR(
([Primary Measure - ProForma - 1: P&L YTD PBOP [$]]]) / [ProForma - 1: P&L YTD PBOP [$]]], "-")

Primary Measure - ProForma - 1: P&L YTD PBOP [$]

Section titled “Primary Measure - ProForma - 1: P&L YTD PBOP [$]”
[Primary Measure - ProForma - 1: P&L YTD PBOP [$]]] =
[Primary Measure: P&L YTD PBOP [$]]] - [ProForma - 1: P&L YTD PBOP [$]]]

Primary Measure - QXRF: P&L YTD Margin [%]

Section titled “Primary Measure - QXRF: P&L YTD Margin [%]”
[Primary Measure - QXRF: P&L YTD Margin [%]]] =
DIVIDE([Primary Measure - QXRF: P&L YTD Margin Delta [%]]], [QXRF: P&L YTD Margin [%]]],0)

Primary Measure - QXRF: P&L YTD Margin Delta [%]

Section titled “Primary Measure - QXRF: P&L YTD Margin Delta [%]”
[Primary Measure - QXRF: P&L YTD Margin Delta [%]]] =
[Primary Measure: P&L YTD Margin [%]]] - [QXRF: P&L YTD Margin [%]]]

Primary Measure - QXRF: P&L YTD Net Sales [%]

Section titled “Primary Measure - QXRF: P&L YTD Net Sales [%]”
[Primary Measure - QXRF: P&L YTD Net Sales [%]]] =
DIVIDE([Primary Measure - QXRF: P&L YTD Net Sales [$]]], [QXRF: P&L YTD Net Sales [$]]],0)

Primary Measure - QXRF: P&L YTD Net Sales [$]

Section titled “Primary Measure - QXRF: P&L YTD Net Sales [$]”
[Primary Measure - QXRF: P&L YTD Net Sales [$]]] =
[Primary Measure: P&L YTD Net Sales [$]]] - [QXRF: P&L YTD Net Sales [$]]]
[Primary Measure - QXRF: P&L YTD PBOP [%]]] =
DIVIDE([Primary Measure - QXRF: P&L YTD PBOP [$]]], [QXRF: P&L YTD PBOP [$]]],0)
[Primary Measure - QXRF: P&L YTD PBOP [$]]] =
[Primary Measure: P&L YTD PBOP [$]]] - [QXRF: P&L YTD PBOP [$]]]
[Primary Measure: P&L YTD Margin [%]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L YTD Margin [%]]],
"Q2RF",
[Q2RF: P&L YTD Margin [%]]],
"Q3RF",
[Q3RF: P&L YTD Margin [%]]],
"Budget",
[Budget: P&L YTD Margin [%]]],
"Actuals",
[Actuals: P&L YTD Margin [%]]],
"ProForma",
[ProForma - 1: P&L YTD Margin [%]]],
BLANK()
)
)
[Primary Measure: P&L YTD Net Sales [$]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L YTD Net Sales [$]]],
"Q2RF",
[Q2RF: P&L YTD Net Sales [$]]],
"Q3RF",
[Q3RF: P&L YTD Net Sales [$]]],
"Budget",
[Budget: P&L YTD Net Sales [$]]],
"Actuals",
[Actuals: P&L YTD Net Sales [$]]],
"ProForma",
[ProForma - 1: P&L YTD Net Sales [$]]],
BLANK()
)
)
[Primary Measure: P&L YTD PBOP [$]]] =
IF (
HASONEVALUE ( 'Primary Measure'[Measure] ),
SWITCH (
VALUES ( 'Primary Measure'[Measure] ),
"Q1RF",
[Q1RF: P&L YTD PBOP [$]]],
"Q2RF",
[Q2RF: P&L YTD PBOP [$]]],
"Q3RF",
[Q3RF: P&L YTD PBOP [$]]],
"Budget",
[Budget: P&L YTD PBOP [$]]],
"Actuals",
[Actuals: P&L YTD PBOP [$]]],
"ProForma",
[ProForma - 1: P&L YTD PBOP [$]]],
BLANK()
)
)
[ProForma - 1: P&L YTD Margin [%]]] =
CALCULATE([ProForma - 1: P&L Margin [%]]], DATESYTD(Calendar_Table[Date]))
[ProForma - 1: P&L YTD Net Sales [$]]] =
CALCULATE([ProForma - 1: P&L Net Sales [$]]], DATESYTD(Calendar_Table[Date]))
[ProForma - 1: P&L YTD PBOP [$]]] =
CALCULATE([ProForma - 1: P&L PBOP [$]]], DATESYTD(Calendar_Table[Date]))
[ProForma: P&L YTD Margin [%]]] =
CALCULATE([ProForma: P&L Margin [%]]], DATESYTD(Calendar_Table[Date]))
[ProForma: P&L YTD Net Sales [$]]] =
CALCULATE([ProForma: P&L Net Sales [$]]], DATESYTD(Calendar_Table[Date]))
[ProForma: P&L YTD PBOP [$]]] =
CALCULATE([ProForma: P&L PBOP [$]]], DATESYTD(Calendar_Table[Date]))
[Q1RF: P&L YTD Margin [%]]] =
CALCULATE([Q1RF: P&L Margin [%]]], DATESYTD(Calendar_Table[Date]))
[Q1RF: P&L YTD Net Sales [$]]] =
CALCULATE([Q1RF: P&L Net Sales [$]]], DATESYTD(Calendar_Table[Date]))
[Q1RF: P&L YTD PBOP [$]]] =
CALCULATE([Q1RF: P&L PBOP [$]]], DATESYTD(Calendar_Table[Date]))
[Q2RF: P&L YTD Margin [%]]] =
CALCULATE([Q2RF: P&L Margin [%]]], DATESYTD(Calendar_Table[Date]))
[Q2RF: P&L YTD Net Sales [$]]] =
CALCULATE([Q2RF: P&L Net Sales [$]]], DATESYTD(Calendar_Table[Date]))
[Q2RF: P&L YTD PBOP [$]]] =
CALCULATE([Q2RF: P&L PBOP [$]]], DATESYTD(Calendar_Table[Date]))
[Q3RF: P&L YTD Margin [%]]] =
CALCULATE([Q3RF: P&L Margin [%]]], DATESYTD(Calendar_Table[Date]))
[Q3RF: P&L YTD Net Sales [$]]] =
CALCULATE([Q3RF: P&L Net Sales [$]]], DATESYTD(Calendar_Table[Date]))
[Q3RF: P&L YTD PBOP [$]]] =
CALCULATE([Q3RF: P&L PBOP [$]]], DATESYTD(Calendar_Table[Date]))
[QXRF: P&L YTD Margin [%]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L YTD Margin [%]]],
"Q2RF",
[Q2RF: P&L YTD Margin [%]]],
"Q3RF",
[Q3RF: P&L YTD Margin [%]]],
"Budget",
[Budget: P&L YTD Margin [%]]],
"ProForma",
[ProForma - 1: P&L YTD Margin [%]]],
BLANK()
)
)
[QXRF: P&L YTD Net Sales [$]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L YTD Net Sales [$]]],
"Q2RF",
[Q2RF: P&L YTD Net Sales [$]]],
"Q3RF",
[Q3RF: P&L YTD Net Sales [$]]],
"Budget",
[Budget: P&L YTD Net Sales [$]]],
"ProForma",
[ProForma - 1: P&L YTD Net Sales [$]]],
BLANK()
)
)
[QXRF: P&L YTD PBOP [$]]] =
IF (
HASONEVALUE ( 'Chosen Comparative'[Forecast] ),
SWITCH (
VALUES ( 'Chosen Comparative'[Forecast] ),
"Q1RF",
[Q1RF: P&L YTD PBOP [$]]],
"Q2RF",
[Q2RF: P&L YTD PBOP [$]]],
"Q3RF",
[Q3RF: P&L YTD PBOP [$]]],
"Budget",
[Budget: P&L YTD PBOP [$]]],
"ProForma",
[ProForma - 1: P&L YTD PBOP [$]]],
BLANK()
)
)
[YTD Conversion: P&L (Measure - QXRF) [%]]] =
IFERROR(
[Primary Measure - QXRF: P&L YTD PBOP [$]]]/
ABS([Primary Measure - QXRF: P&L YTD Net Sales [$]]]), BLANK())
Actuals vs Comparative vs ProForma =
"Actuals" & " vs "
& SELECTEDVALUE ( 'Chosen Comparative'[Forecast] ) & " vs " & "ProForma"
Selection = SELECTEDVALUE('Primary Measure'[Measure])
Selection P&L line =
"P&L Line: " & SELECTEDVALUE('Chosen Rolling Measure'[Measure])
Selection P&L line 2 =
VAR selectedpillar =
SELECTEDVALUE(DimAccounts[Account Name])
RETURN
"P&L Line: " & IF ( ISBLANK ( selectedpillar), "Multiple Lines", selectedpillar )
Selection vs Comparative =
SELECTEDVALUE ( 'Primary Measure'[Measure] ) & " vs "
& SELECTEDVALUE ( 'Chosen Comparative'[Forecast] )
Selection vs Comparative vs ProForma =
SELECTEDVALUE ( 'Primary Measure'[Measure] ) & " vs "
& SELECTEDVALUE ( 'Chosen Comparative'[Forecast] ) & " vs " & "ProForma"
Selection vs ProForma =
SELECTEDVALUE ( 'Primary Measure'[Measure] ) & " vs " & "ProForma"
Last Month with Actuals Sales =
FORMAT (
CALCULATE (
LASTDATE ( FactPnL[Date] ),
FactPnL[Reporting Type] = "CA=ACTUAL"
),
"MMMM"
)
Selected Year =
VAR selectedyear =
SELECTEDVALUE ( Calendar_Table[Year] )
RETURN
"" & IF ( ISBLANK ( selectedyear ), "Multiple Years", selectedyear )
Selected YTD Month =
VAR selectedytdmonth =
FORMAT ( SELECTEDVALUE ( Calendar_Table[Month Name] ), "MMMM" )
RETURN
"" & IF ( ISBLANK ( selectedytdmonth ), "Multiple Months", selectedytdmonth )
Year Parameter = SELECTEDVALUE('Year Parameter'[Parameter])
Calendar_Table =
GENERATE (
CALENDAR ( DATE ( 2014, 1, 1 ), DATE ( 2023, 12, 31 ) ),
VAR currentDay = [Date]
VAR Day = DAY( currentDay )
VAR Month = MONTH ( currentDay )
VAR Year = YEAR ( currentDay )
RETURN ROW (
"Day", day,
"Month", month,
"Year", year )
)
Chosen Comparative = DATATABLE (
"Pos", INTEGER,
"Forecast", STRING,
{
{ 1, "Q1RF"},
{ 2, "Q2RF"},
{ 3, "Q3RF"},
{ 4, "Budget"},
{ 5, "ProForma"}
}
)
Chosen Rolling Measure = DATATABLE (
"Pos", INTEGER,
"Measure", STRING,
{
{ 1, "Net Sales"},
{ 2, "Staff Salaries"},
{ 3, "Freelance"},
{ 4, "SFLICs"},
{ 5, "Staff Costs"}
}
)
Primary Measure = DATATABLE (
"Pos", INTEGER,
"Measure", STRING,
{
{ 1, "Q1RF"},
{ 2, "Q2RF"},
{ 3, "Q3RF"},
{ 4, "Budget"},
{ 5, "Actuals"},
{ 6, "ProForma"}
}
)
Time Period = DATATABLE (
"Pos", INTEGER,
"Period", STRING,
"Offset", INTEGER,
{
{ 1, "Normal", 0},
{ 2, "Last Quarter", -93},
{ 3, "MTD", 0},
{ 4, "QTD", 0},
{ 5, "YTD", 0},
{ 6, "Last 12 Months", -12}
})
Year Parameter = GENERATESERIES(2015, 2049, 1)
Month Name = FORMAT( [Date], "MMMM" )