I have created a Report with Groups. I summarize the Values of this group and show the value. This works fine. Now I want to color the value red when ist below 10. It doesn't do anything. Only when I set as Expression Avg(BussinessObject.Var) == 0 the value of the TextBox gets red (if < 10 then not).
I have tried it with the examples which are online and with them it works fine. The difference between the excamples and my solution is, that I have a WCF-Service behind which gets the data from a database and compiles the Report.
Can someone help me with this?
Apply Apprearance Conditions to Expression in Group
Re: Apply Apprearance Conditions to Expression in Group
Hello.
Sorry, but we couldn't reproduce your issue.
Please, send us a sample working project which reproduces the issue for analysis.
Thank you.
Sorry, but we couldn't reproduce your issue.
Please, send us a sample working project which reproduces the issue for analysis.
Thank you.
Re: Apply Apprearance Conditions to Expression in Group
I have modified the sample project you have online to work like my project. (It is not the cleanest code, but it should do)
Please run the Designer-Projekts and klick at open to load the report. The Total-Sum should be red when lesser than 400 and green when greater than 400 and grey when 0. It always gets grey no matter which value the Total-Sum has.
Can you please have a look at it?
Please run the Designer-Projekts and klick at open to load the report. The Total-Sum should be red when lesser than 400 and green when greater than 400 and grey when 0. It always gets grey no matter which value the Total-Sum has.
Can you please have a look at it?
- Attachments
-
- WCF - Silverlight.zip
- Sample Project
- (7.02 MiB) Downloaded 261 times
Re: Apply Apprearance Conditions to Expression in Group
Hello,
Please try to use the Totals.Sum() function in Conditions:
Thank you.
Please try to use the Totals.Sum() function in Conditions:
Code: Select all
Totals.Sum(Product, Product.price*Product.unitsInStock)>400
Re: Apply Apprearance Conditions to Expression in Group
Thanks, with Totals.Sum it works fine.
Re: Apply Apprearance Conditions to Expression in Group
Hello,
Thank you for the reply.
Thank you for the reply.