Hi all,
I have a CrossTab (Telerik Reporting V4.0.10.317 - 2011) with two grouping settings on "Fields.ASSET" and "Fields.PRDCT_NM" (product name) columns and a "=SUM(Fields.AMOUNT)" expression relative to the product.Basically, there are 4 types of products (generating 4 rows for every asset) : "p10", "p50", "p90" and "det", each with his subtotal amount.What I need is to access and store for every asset, to the subtotal, and use these 4 values in a logic like this:
when the subtotal for "det" product (for the current asset) is greater than "p90" sub -> use a formula to calculate ,when the subtotal for "det" product is between "p90" and "p50" subs -> use other formula
and so on ... storing the result of that formula in another cell of my crosstabI've found the "Exec(scope, expression)" Expression, but don't know how to implement the "when" logic based on the product nameCan this be done directly with an expression or I need to catch che item data bound event and search for a workaround?
Thanks in advanceMichele
I have a CrossTab (Telerik Reporting V4.0.10.317 - 2011) with two grouping settings on "Fields.ASSET" and "Fields.PRDCT_NM" (product name) columns and a "=SUM(Fields.AMOUNT)" expression relative to the product.Basically, there are 4 types of products (generating 4 rows for every asset) : "p10", "p50", "p90" and "det", each with his subtotal amount.What I need is to access and store for every asset, to the subtotal, and use these 4 values in a logic like this:
when the subtotal for "det" product (for the current asset) is greater than "p90" sub -> use a formula to calculate ,when the subtotal for "det" product is between "p90" and "p50" subs -> use other formula
and so on ... storing the result of that formula in another cell of my crosstabI've found the "Exec(scope, expression)" Expression, but don't know how to implement the "when" logic based on the product nameCan this be done directly with an expression or I need to catch che item data bound event and search for a workaround?
Thanks in advanceMichele