Use Cell Reference in Active Form Column Filter
Posted: Thu Feb 04, 2016 6:50 pm
All,
I created a MDX expression using TM1 planning sample database, plan_BudgetPlan cube as an example. I basically wanted to pull all 0 level departments with FY2004 Budget, Wages expense (acct 61060) Jan-2004, local currency, budget source greater than 300000 (MDX dynamic subset filter by a value). Below expession works on TM1RPTROW function. Lo is a dynamic named subset I created using another MDX expression.
The Expression is :{FILTER ({ [plan_department].[L0]}, [plan_BudgetPlan]. ( [plan_version].[FY 2004 Budget],[plan_business_unit].[10000],[plan_chart_of_accounts].[61060],[plan_exchange_rates].[local],[plan_source].[budget],[plan_time].[Jan-2004])>300000 )}
If I like to replace ">300000" using a cell paramater, so user can input >300000 in C19 in excel, below MDX does not work
{FILTER ({ [plan_department].[L0]}, [plan_BudgetPlan]. ( [plan_version].[FY 2004 Budget],[plan_business_unit].[10000],[plan_chart_of_accounts].[61060],[plan_exchange_rates].[local],[plan_source].[budget],[plan_time].[Jan-2004])"&$C$19&")}
Could you help out with the correct syntax how to write "&$C$19&" this portion. I did try single, double, &, or 3 double quotation """ around the cell reference, it is not working.
Thank you very much
I created a MDX expression using TM1 planning sample database, plan_BudgetPlan cube as an example. I basically wanted to pull all 0 level departments with FY2004 Budget, Wages expense (acct 61060) Jan-2004, local currency, budget source greater than 300000 (MDX dynamic subset filter by a value). Below expession works on TM1RPTROW function. Lo is a dynamic named subset I created using another MDX expression.
The Expression is :{FILTER ({ [plan_department].[L0]}, [plan_BudgetPlan]. ( [plan_version].[FY 2004 Budget],[plan_business_unit].[10000],[plan_chart_of_accounts].[61060],[plan_exchange_rates].[local],[plan_source].[budget],[plan_time].[Jan-2004])>300000 )}
If I like to replace ">300000" using a cell paramater, so user can input >300000 in C19 in excel, below MDX does not work
{FILTER ({ [plan_department].[L0]}, [plan_BudgetPlan]. ( [plan_version].[FY 2004 Budget],[plan_business_unit].[10000],[plan_chart_of_accounts].[61060],[plan_exchange_rates].[local],[plan_source].[budget],[plan_time].[Jan-2004])"&$C$19&")}
Could you help out with the correct syntax how to write "&$C$19&" this portion. I did try single, double, &, or 3 double quotation """ around the cell reference, it is not working.
Thank you very much