<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://uat.community.rws.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Calculated fields</title><link>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4870/calculated-fields</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12 Non-Production</generator><item><title>Calculated fields</title><link>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4870/calculated-fields</link><pubDate>Tue, 16 Jul 2019 08:42:08 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:58237597-8b17-4863-874b-4844d3afab22</guid><dc:creator>Eugene Kuchynski</dc:creator><comments>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4870/calculated-fields#comments</comments><description>Current Revision posted to Wiki by Eugene Kuchynski on 7/16/2019 8:42:08 AM&lt;br /&gt;
&lt;p&gt;The QuickReports Designer provides the capability to create calculated fields that allow you to apply complex expressions to data fields that are obtained from the QuickReport&amp;#39;s data source.&lt;/p&gt;
&lt;p&gt;You can use these fields in data visualizations as regular source table fields.&lt;/p&gt;
&lt;h3&gt;Creating a Calculated Field&lt;/h3&gt;
&lt;p&gt;You can add create new calculated field based on the existing data source fields.&lt;/p&gt;
&lt;p&gt;To create a calculated field, right click on the data source area and select &lt;strong&gt;Add calculated field&lt;/strong&gt;, or use corresponding button in the Ribbon&amp;#39;s &lt;strong&gt;Data Source&lt;/strong&gt; tab:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/pastedimage1563266475822v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;This invokes the &lt;strong&gt;Expression Editor&lt;/strong&gt; dialog, which allows you to specify an expression that will be used to obtain calculated field values. Here, you can construct the required expression.&lt;/p&gt;
&lt;p&gt;You can use the following elements in expressions.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Functions&lt;/li&gt;
&lt;li&gt;Operators&lt;/li&gt;
&lt;li&gt;Columns&lt;/li&gt;
&lt;li&gt;Constants&lt;/li&gt;
&lt;li&gt;Parameters&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After the expression has been specified, select OK. This displays a new calculated field in the data source structure. Now you can specify the required calculated field type, change its default name, etc.&lt;/p&gt;
&lt;h3&gt;Editing a Calculated Field&lt;/h3&gt;
&lt;p&gt;To edit a calculated field, use its context menu.&amp;nbsp;This menu contains the following items:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit Expression...&lt;/strong&gt; &lt;br /&gt;Invokes the Expression Editor dialog, which allows you to change an expression for an existing calculated field.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Field Type&lt;/strong&gt; &lt;br /&gt;Specifies the type of the calculated field.&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#ffff99;"&gt;Note. The type of a newly created calculated field is detected automatically based on the type of values returned by the specified expression.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Rename&lt;/strong&gt; &lt;br /&gt;Changes the calculated field name.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Delete&lt;/strong&gt; &lt;br /&gt;Removes the existing calculated field from the data source.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: reporting, Analytics, quickreports, calculated fields&lt;/div&gt;
</description></item><item><title>Calculated fields</title><link>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4870/calculated-fields/revision/1</link><pubDate>Tue, 16 Jul 2019 08:41:01 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:58237597-8b17-4863-874b-4844d3afab22</guid><dc:creator>Eugene Kuchynski</dc:creator><comments>https://uat.community.rws.com/product-groups/trados-portfolio/business-manager/w/wiki/4870/calculated-fields#comments</comments><description>Revision 1 posted to Wiki by Eugene Kuchynski on 7/16/2019 8:41:01 AM&lt;br /&gt;
&lt;p&gt;The QuickReports Designer provides the capability to create calculated fields that allow you to apply complex expressions to data fields that are obtained from the QuickReport&amp;#39;s data source.&lt;/p&gt;
&lt;p&gt;You can use these fields in data visualizations as regular source table fields.&lt;/p&gt;
&lt;p&gt;Creating a Calculated Field&lt;/p&gt;
&lt;p&gt;You can add create new calculated field based on the existing data source fields.&lt;/p&gt;
&lt;p&gt;To create a calculated field, right click on the data source area and select &lt;strong&gt;Add calculated field&lt;/strong&gt;, or use corresponding button in the Ribbon&amp;#39;s &lt;strong&gt;Data Source&lt;/strong&gt; tab:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-02-93/pastedimage1563266475822v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This invokes the &lt;strong&gt;Expression Editor&lt;/strong&gt; dialog, which allows you to specify an expression that will be used to obtain calculated field values. Here, you can construct the required expression.&lt;/p&gt;
&lt;p&gt;You can use the following elements in expressions.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Functions&lt;/li&gt;
&lt;li&gt;Operators&lt;/li&gt;
&lt;li&gt;Columns&lt;/li&gt;
&lt;li&gt;Constants&lt;/li&gt;
&lt;li&gt;Parameters&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After the expression has been specified, select OK. This displays a new calculated field in the data source structure. Now you can specify the required calculated field type, change its default name, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: reporting, Analytics, quickreports, calculated fields&lt;/div&gt;
</description></item></channel></rss>