tablix visibility

Horse06Horse06 Member Posts: 496
edited 2013-10-09 in NAV Three Tier
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!

Comments

  • KishormKishorm Member Posts: 921
    Horse06 wrote:
    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!

    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
Sign In or Register to comment.