reporting services - SSRS Need multiple references to a report item in header -
i have text box in header of report has following expression:
=iif(reportitems!voided.value = "v", "**** void ****", "")
so if text box named "voided" has value of v, display **** void **** in header of report. works perfectly.
i need way because there multiple records in report, , using first(fields!voided.value)
in header not work because 1 of records voided, , others not. using first() cause inaccuracies.
however, requirements have changed need **** void **** displayed if voided = v, , **** void - prior payroll **** displayed iv voided = x.
it seems ssrs not nested if in header =iif(reportitems!voided.value = "v", "**** void ****", iif(reportitems!voided2.value = "x", "**** void previous payroll ****", ""))
because gives error the value text run refers more 1 report item. expression in page header or footer can refer 1 report item
is there way display nested iif type logic in header based upon reportitem in body of report?
placeholders rescue!! colleague this. seems ssrs allows creating two placeholders within 1 text box. each placeholder can have it's own expression!
Comments
Post a Comment