How to Change Report Title Based on Condition in SSRS Report in D365 F&O:
Step1: Insert a new Text Box in Report Design and write Expression is the given Below:
Step2: Add a DP class in Project Write a code:
if (Condition)
tmpTable.ReportTitle = "Label of title1";
else
tmpTable.ReportTitle = "Label of title2";
Note: this condition writes in the process report method or where your tmp table is inserted.
Comments
Post a Comment