<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>[CE / MS23] Reports - Calculated Column Expressions of model object element properties?</title><link>https://communities.bentley.com/products/microstation/f/microstation-forum/247440/ce-ms23-reports---calculated-column-expressions-of-model-object-element-properties</link><description>Hi all, 
 
 I am trying to use a EC Expression for a Reports Calculated Column Expression and can&amp;#39;t seem to find a way to relate the expression to the model object being reported, 
 eg. i would like to use an expression like &amp;quot;this.GetElement().Name&amp;quot; to</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: [CE / MS23] Reports - Calculated Column Expressions of model object element properties?</title><link>https://communities.bentley.com/thread/773450?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2023 12:57:54 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f30672b7-b099-4cd0-8a82-f77bde2ec507</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;Any comments from the Bentley team clarifying how these expressions work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CE / MS23] Reports - Calculated Column Expressions of model object element properties?</title><link>https://communities.bentley.com/thread/772757?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2023 07:52:50 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:43ce61f1-dd1d-44af-ad54-0448c7d79d58</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;Hi Jon, i posted a bad example as thats a property i use in ORD for Named elements. A better example for this would be&amp;nbsp;&lt;strong&gt;this.GetElement().ElementDescription&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CE / MS23] Reports - Calculated Column Expressions of model object element properties?</title><link>https://communities.bentley.com/thread/772743?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2023 06:27:26 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:6358598b-39e1-4292-b976-b64e45cb276a</guid><dc:creator>Jon Summers</dc:creator><description>[quote userid="334014" url="~/products/microstation/f/microstation-forum/247440/ce-ms23-reports---calculated-column-expressions-of-model-object-element-properties"]I would like to use an expression like &amp;quot;this.GetElement().Name&amp;quot; to get the Name property of an element[/quote]
&lt;p&gt;A DGN element doesn&amp;#39;t have a name.&amp;nbsp; It does have a description.&amp;nbsp; That is shown in our &lt;a title="LA Solutions: Area Report" href="http://www.la-solutions.co.uk/content/connect/Reports/AreaReport.htm" rel="noopener noreferrer" target="_blank"&gt;Area Report example&lt;/a&gt;...&lt;/p&gt;
&lt;p&gt;&lt;a title="LA Solutions: Area Report" href="http://www.la-solutions.co.uk/content/connect/Reports/AreaReport.htm" rel="noopener noreferrer" target="_blank"&gt;&lt;img style="max-height:240px;max-width:600px;" src="/resized-image/__size/1200x480/__key/communityserver-discussions-components-files/273/pastedimage1688970592474v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CE / MS23] Reports - Calculated Column Expressions of model object element properties?</title><link>https://communities.bentley.com/thread/772738?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2023 06:01:13 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:13b97b3e-120e-438d-a67d-e8593ae51ce8</guid><dc:creator>Jan Šlegr</dc:creator><description>[quote userid="334014" url="~/products/microstation/f/microstation-forum/247440/ce-ms23-reports---calculated-column-expressions-of-model-object-element-properties/772698"]im hoping that the Expressions are not just limited to Report Column data[/quote]
&lt;p&gt;I think it&amp;#39;s all about what symbol provider is configured to be available for &amp;quot;reports engine&amp;quot;.&lt;/p&gt;
[quote userid="334014" url="~/products/microstation/f/microstation-forum/247440/ce-ms23-reports---calculated-column-expressions-of-model-object-element-properties/772698"]and can somehow be extended to operate on the objects being reported also.[/quote]
&lt;p&gt;Expressions in reports are Technology Preview, so I guess it is good time to discuss such extension here or to create an idea.&lt;/p&gt;
&lt;p&gt;I do not know how reports work internally, so maybe existing flexibility (reports can work with plenty of objects, not only graphical elements) makes implementation of &amp;quot;elements specific&amp;quot; expressions complicated?&lt;/p&gt;
[quote userid="334014" url="~/products/microstation/f/microstation-forum/247440/ce-ms23-reports---calculated-column-expressions-of-model-object-element-properties/772698"]If so, it will allow users to get the most out of their data in Reports, otherwise quite limiting in my opinion.[/quote]
&lt;p&gt;From my point of view it looks like that expressions, accessing elements data, should be part of Items, attached directly to elements. And expressions, working with reports itself, should be part of report definition.&lt;/p&gt;
&lt;p&gt;But maybe it&amp;#39;s only because of early development stage and such feature is planned already ;-)&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CE / MS23] Reports - Calculated Column Expressions of model object element properties?</title><link>https://communities.bentley.com/thread/772698?ContentTypeID=1</link><pubDate>Sun, 09 Jul 2023 10:12:56 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:95e8928e-3d67-4736-9375-c494afeb534c</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;Thanks Jan, im hoping that the Expressions are not just limited to Report Column data and can somehow be extended to operate on the objects being reported also. If so, it will allow users to get the most out of their data in Reports, otherwise quite limiting in my opinion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CE / MS23] Reports - Calculated Column Expressions of model object element properties?</title><link>https://communities.bentley.com/thread/772697?ContentTypeID=1</link><pubDate>Sun, 09 Jul 2023 09:43:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:dee46891-fa0c-47e7-baa7-7a3728941880</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Mark,&lt;/p&gt;
&lt;p&gt;based on your answer and hands-on testing, I think I understand the issue now :-)&lt;/p&gt;
&lt;p&gt;What confused me was &amp;quot;model object element properties&amp;quot;, which makes the question more complex than it is (&amp;quot;Report Calculated column cannot work with reported element&amp;quot;).&lt;/p&gt;
&lt;p&gt;I guess it is a feature (limitation) of this technology preview: When calculated column is used, the expression does not support &amp;quot;this&amp;quot; specification, so it is not possible to write an expression, that accesses the reported element.&lt;/p&gt;
&lt;p&gt;It seems that &amp;quot;objects&amp;quot;, available in Item Type expressions and Report expressions are similar, but not the same: In Item Type, e.g. &amp;quot;this&amp;quot; is available, whereas in Report, &amp;quot;Column&amp;quot; is available.&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CE / MS23] Reports - Calculated Column Expressions of model object element properties?</title><link>https://communities.bentley.com/thread/772696?ContentTypeID=1</link><pubDate>Sun, 09 Jul 2023 08:01:22 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e149764d-95d8-4ae5-9905-461eb8332b77</guid><dc:creator>Mark Shamoun</dc:creator><description>&lt;p&gt;Hi Jan,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This may explain better - eg. i have a Report for line objects and added a column for its Level property. If i then create a Calculated Column Expression and use the EC expression that normally gets me the level name, it doesnt work. No normal &amp;quot;this.GetElement&amp;quot; EC expressions look to return a value so i am thinking there must be something different with these expressions.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am trying to use these EC Expressions here to display properties that are not &amp;quot;standard&amp;quot; as I do with Item Types. I am hoping these behave the same so i can get usable Reports for Civil data (in ORD, etc.)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/273/pastedimage1688889464915v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [CE / MS23] Reports - Calculated Column Expressions of model object element properties?</title><link>https://communities.bentley.com/thread/772694?ContentTypeID=1</link><pubDate>Sun, 09 Jul 2023 04:47:23 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:217a6bbc-2292-4ab9-b161-c354e59d3b4d</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Mark,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not sure I understand your question right. Is it possible to share a few elements example to demonstrace, what properties you want to include into the report?&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>