tanj1035
asked on
2 conditions from 2 datasets in expression of row visibility
Hi Experts,
In ssrs, I want to create an expression for the row visibility. But, the expression will contain 2 conditions from different 2 datasets. I have created an expression, but it does not pass in SSRS. The error message is
"The Hidden expression for the tablix ‘Tablix9’ refers to the field ‘launchdate’. Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the specified dataset scope. Letters in the names of fields must use the correct case."
Can some one help me to correct it? Thank you.
=iif (monthname(month(today())) = Last(Fields!MonthName.Valu e, "DealStarts") or (Fields!launchdate.Value, "RowofTrendingVisibility") >=Paramete rs!StartDa te.Value, true, false)
In ssrs, I want to create an expression for the row visibility. But, the expression will contain 2 conditions from different 2 datasets. I have created an expression, but it does not pass in SSRS. The error message is
"The Hidden expression for the tablix ‘Tablix9’ refers to the field ‘launchdate’. Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the specified dataset scope. Letters in the names of fields must use the correct case."
Can some one help me to correct it? Thank you.
=iif (monthname(month(today()))
As you have discovered you cannot refer to two different datasets like that. The only option is using the lookup functions. Have a read through following article for details, let us know if after that you need further help: Looking Up Data On Different Sources
ASKER
Thanks, ValentinoV, I read your article which is very good. But, I do not how I can apply it to my question.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.