Hi All,
I am using a disconnected copy of my Date table as a filter in a measure. The user selects a FinancialPeriod from the disconnected table and the measure is shown in a table with rows of FinancialPeriod from the original Date table.
The purpose of the measure is a kind of 'Where are they now?', and takes a group of Affiliates at the selected date and shows how many of them convert to Members etc over time.
This works fine. What I am trying to do now is to have multiple tables each with different start periods, each showing the next 24 FinancialPeriods, so I can show what happens to a group of people over time, with different start points.
Any ideas on how to do this? I don't think Relative Date Filtering is right, but can I use a measure to select the periods.
FYI our FinancialPeriods are 2018001, 2018002 ... 2018012, 2019001, 2019002 etc so I want the (disconnected) selected FinancialPeriod + 2000.
The measure is shown below for reference:
sorry if this is a bit confusing
Thanks
Richard
I am using a disconnected copy of my Date table as a filter in a measure. The user selects a FinancialPeriod from the disconnected table and the measure is shown in a table with rows of FinancialPeriod from the original Date table.
The purpose of the measure is a kind of 'Where are they now?', and takes a group of Affiliates at the selected date and shows how many of them convert to Members etc over time.
This works fine. What I am trying to do now is to have multiple tables each with different start periods, each showing the next 24 FinancialPeriods, so I can show what happens to a group of people over time, with different start points.
Any ideas on how to do this? I don't think Relative Date Filtering is right, but can I use a measure to select the periods.
FYI our FinancialPeriods are 2018001, 2018002 ... 2018012, 2019001, 2019002 etc so I want the (disconnected) selected FinancialPeriod + 2000.
The measure is shown below for reference:
Code:
[COLOR=#000000][FONT=Consolas]Count - Affiliates Then Members Now =
// The count of Current Active Members who were Affiliates in the Financial Period selected in Dim_Calendar_Copy
VAR varPeriod = MAX([B]Dim_Calendar_Copy[Financial Period][/B])
VAR varThen =
CALCULATETABLE (
VALUES('FEE ANALYSIS'[Member Number]),
'FEE ANALYSIS'[Member Status - Current] = "Active",
Dim_MemberCategory[Headline Category] = "Affiliate",
FILTER(ALL(Dim_Calendar), Dim_Calendar[Financial Period] = varPeriod)
)
VAR varNow =
CALCULATETABLE (
VALUES('FEE ANALYSIS'[Member Number]),
'FEE ANALYSIS'[Member Status - Current] = "Active",
Dim_MemberCategory[Headline Category] = "Member",
Dim_Calendar[Financial Period] > varPeriod
)
VAR Result_1 = IF( HASONEVALUE(Dim_Calendar[Financial Period]), COUNTROWS ( INTERSECT ( varThen, varNow ) ), BLANK() )
RETURN Result_1
[/FONT][/COLOR]
sorry if this is a bit confusing
Thanks
Richard