Hi,
I have a matrix based on a cube. I would like to load up a field based on the selection of a parameter.
The parameter values has, Actual, Budget, Target
For the one field, base on the above parameter, will select,
if the value for the parameter is Actual, then =Fields!Actual.Value
if it's Budget, then =Fields!Budget.Value
if it's Target, then =Fields!Target.Value
Is this possible? And If so, how should I do it?
Thanks a lot.
You can try
=IIF(Parameters!<ParamName>.Value="Actual", Fields!Actual.Value, IIF(Parameters!<ParamName>.Value="Budget", Fields!Budget.Value, Fields!Target.Value))
|||hi,
thanks a lot for your reply.
But what if I loaded the parameter list from the database, that means there maybe more option later in the course, what can I do in that case?
|||You can try using this syntax =Fields(Parameters!<paramName>.Value).Value.|||thanks a lot for your great help... that works!