Hi expert, I have a question on the tablix visibility of my report.
On Visibliity of the Tablix of the table, the content will show or hide based on an expression, I have the following code
=IIf(Fields!Status.value=2)
Status is an option and has two option values: complete and imcomplete. But the report cannot be saved and it has an error. Please advise! Thank you!
0
Comments
IIF needs to have the true and false values, so you need...
=IIF(Fields!Status.value=2,TRUE,FALSE)
Also note that if you option only has those 2 values and not a blank value (usually at the start) then those values would be 0 for complete and 1 for incomplete