I have a multiple column table report using SSRS 2012. Need to change the Format_Title data field to Bold font when another field is blank/empty. The empty field could be either GL_Account, Company_Number or Debit_Credit columns.(i.e. if GL_Account is blank then for that same data row bold font the Format_Title data field).See attached image.[b]Procedure:[/b]Right click on the Format_Title text box to bring up the Text Properties dialog box.Select Font optionclick on the Bold Style and check the checkboxClick on the Bold expression button (fx)Input a expression using one of the IIF statements below:=IIF(IsNothing(Fields!Debit_Credit.Value), "Default", "Bold")=IIF(Fields!Debit_Credit.Value <> " ", "Default", "Bold")=IIF(Fields!Debit_Credit.Value = " " , "Bold, "Default")=IIF(Fields!Debit_Credit.Value) = " ", (Fields!Format_Title = "Bold", (Fields!Format_Title = "Default")=IIF((Fields!Debit_Credit.Value) = " ", (Fields!Format_Title = "Bold", (Fields!Format_Title = "Default"))I have tried various combinations of the above expressions (only one expression at one time) and cannot get the Format_Title to bold if another specified field is blank.[b]Additional question:[/b] I am not sure of the correct method to handle Nulls in this exampleThere must be a way to conditionally format a field using another field's value.I would appreciate any assistance.Thanks.
↧