Hi Everyone,
In this blog we will see how we can print expression based on some condition in SSRS Report (RDLC Layout).Like, IF (Value1 = true,"kunal","Huria")..This means if value1 is true then its print Kunal else it prints Huria.
Step-(1) Here i am taking this example of my customized Report, if "Payee Name" field value is blank then it will Print Kunal otherwise it will print "Payee Name" field value. Add this code in Textbox Expression as shown below:
=IIF(Fields!Payee_Name.Value="","Kunal",Fields!Payee_Name.Value)
Step-(2) Output >> This will show the output while generating Report for below cases:-
Case-(i) If "Payee Name" field value is blank:
Thanks for Reading!!
Stay tuned for more Articles!!!
Comments
Post a Comment