Hi all, so I want to make a filter based on enum parameters on my contract class
the condition:
I have customized Enum let say Custom1 has value 0 (Open), 1 (All) in class contract as parameter
and if Custom1 has value 0 (Open) then report only show record which has value SalesLine.SalesStatus == SalesStatus::Backorder
else show record with all SalesStatus value
so in the tablix filter I write:
Expression : =IIF(Parameters!Custom1_DynamicsParameter.Value = "Open", Fields!SalesStatus.Value, False)
Operator : <>
Value : Backorder
when i run the preview I got error :
"Cannot compare data types System.Boolean and System.String......"
what is the solution?
thanks in advance.
*This post is locked for comments
I have the same question (0)