Starting in 2019, the Reporting control is no longer included in Essential Studio®. If you're experiencing issues with the Syncfusion� Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.

Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.

We thank you for choosing Syncfusion� and appreciate your understanding.

Expressions color problem

Hi,
I use expressions in "Fill color", it works very well in the SQL report builder, but in ReportViewer, it uses only one color on all lines (see screenshot).
Expression:  =IIF((Fields!myField1.Value) is nothing & (Fields!myField2.Value) >0, "Yellow", IIF((Fields!myField2.Value) > (Fields!myField1.Value),"Yellow", IIF((Fields!myField2.Value) < (Fields!myField1.Value), "#ff7f00","White")))

Regards,
Anis

Attachment: screenshot_79094fbc.rar

3 Replies

MS Mahendran Shanmugam Syncfusion Team February 19, 2018 12:58 PM UTC

Hi Anis, 
  
We have checked the mentioned problem with your shared expression in French culture and its working properly at our end as shown in below shared screenshot. For your reference, we have prepared a RDL file using the shared expression and please confirm whether the RDL file is working properly at your end it can be downloaded from below location, 
  
 
If the issue still persist, then revert the shared RDL with issue reproducible procedure to Validate the mentioned problem at our end 
  
Thanks and Regards, 
Mahendran S. 



AN Anis February 19, 2018 01:54 PM UTC

Thank you for your reply, it was a problem in the expression I think (the and condition). When I changed the expression it works.
Expression : =Switch(((Fields!myField1.Value) is nothing  and (Fields!myField2.Value) > 0), "Red",
  ((Fields!myField2.Value) > (Fields!myField1.Value)), "Yellow",
 (Fields!myField2.Value) < (Fields!myField1.Value), "#ff7f00", 
 (Fields!myField2.Value) = (Fields!myField1.Value),"White")

Regards,
Anis



MS Mahendran Shanmugam Syncfusion Team February 20, 2018 04:18 AM UTC


Loader.
Up arrow icon