Posted 8 October 2021, 5:52 am EST
Hello everyone!
I’m on Active Reports 15.2. I have a section report with an XML data source where if Amount 1 is greater than 0, I want the label to say ‘Gross’, but if not I want the text to say ‘Net’.
In Telerik Reporting, we did this via an Expression with an IIF statement (=IIF(Fields.[Amount1] > 0, “Gross”, “Net”) right in the label/text box. I’m not finding a way to do that in Active Reports though. I see in the documentation I should be able to, but I haven’t found the right place to enter it in yet. Documentation page I’m referring too: https://www.grapecity.com/activereportsnet/docs/v15/online/expressions.html
Just putting the Expression (modified for Active Reports) as the text for the box gets the box writing out the entire expression as text and that’s DEFINITELY not what I want.
Can anyone help me out? Thank you!