<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Query Builder: How to Fetch Attributes from Multiple Part Subtypes in One Report? in Windchill</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill/Query-Builder-How-to-Fetch-Attributes-from-Multiple-Part/m-p/1057948#M88464</link>
    <description>&lt;P&gt;It depends on what the other criteria of the query are, the following has worked for me in some cases.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make outside joins against the part subtypes to master reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026-03-10_113255.jpg" style="width: 521px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/135612i2211C8366CDD9EC8/image-dimensions/521x309?v=v2" width="521" height="309" role="button" title="2026-03-10_113255.jpg" alt="2026-03-10_113255.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026-03-10_115254.jpg" style="width: 628px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/135613i4431506B987B536F/image-dimensions/628x235?v=v2" width="628" height="235" role="button" title="2026-03-10_115254.jpg" alt="2026-03-10_115254.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Probably best to make a separate report for each type and union them, although I think there's a limit of 2 or 3 unions in a query builder template.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Mar 2026 11:54:04 GMT</pubDate>
    <dc:creator>rhart</dc:creator>
    <dc:date>2026-03-10T11:54:04Z</dc:date>
    <item>
      <title>Query Builder: How to Fetch Attributes from Multiple Part Subtypes in One Report?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Query-Builder-How-to-Fetch-Attributes-from-Multiple-Part/m-p/1057847#M88459</link>
      <description>&lt;P&gt;Version: Windchill 13.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use Case: I’m trying to create a Query Builder report in Windchill that retrieves data from multiple Part subtypes, where each subtype requires different attributes to be included in the result set. For example: From part type PART_A, I need to fetch a custom attribute ATTR_A From part type PART_B, I need to fetch a different custom attribute ATTR_B Is it possible to achieve this in a single Query Builder report? If so, what is the recommended approach to configure the criteria and result columns for multiple part types with different attribute sets?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: &lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;I’m trying to create a Query Builder report in Windchill that retrieves data from multiple Part subtypes, where each subtype requires different attributes to be included in the result set.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;From part type &lt;STRONG&gt;PART_A&lt;/STRONG&gt;, I need to fetch a custom attribute &lt;STRONG&gt;ATTR_A&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;From part type &lt;STRONG&gt;PART_B&lt;/STRONG&gt;, I need to fetch a different custom attribute &lt;STRONG&gt;ATTR_B&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is it possible to achieve this in a &lt;EM&gt;single&lt;/EM&gt; Query Builder report? If so, what is the recommended approach to configure the criteria and result columns for multiple part types with different attribute sets?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Mar 2026 19:49:36 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Query-Builder-How-to-Fetch-Attributes-from-Multiple-Part/m-p/1057847#M88459</guid>
      <dc:creator>SM_14482211</dc:creator>
      <dc:date>2026-03-09T19:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Query Builder: How to Fetch Attributes from Multiple Part Subtypes in One Report?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Query-Builder-How-to-Fetch-Attributes-from-Multiple-Part/m-p/1057938#M88463</link>
      <description>&lt;P&gt;Add the Part object to the report twice, one for each subtype. You can also use a technique to export the QML and make a union. In this case, you would have to different QML reports. export each, edit offline to make a union and reimport back in. But there is no editting online of that merged QML.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.ptc.com/t5/Windchill/TIL-two-things-about-union-queries-in-Query-Builder-I-thought-I/m-p/626642" target="_blank"&gt;https://community.ptc.com/t5/Windchill/TIL-two-things-about-union-queries-in-Query-Builder-I-thought-I/m-p/626642&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2026 11:11:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Query-Builder-How-to-Fetch-Attributes-from-Multiple-Part/m-p/1057938#M88463</guid>
      <dc:creator>avillanueva</dc:creator>
      <dc:date>2026-03-10T11:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Query Builder: How to Fetch Attributes from Multiple Part Subtypes in One Report?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill/Query-Builder-How-to-Fetch-Attributes-from-Multiple-Part/m-p/1057948#M88464</link>
      <description>&lt;P&gt;It depends on what the other criteria of the query are, the following has worked for me in some cases.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make outside joins against the part subtypes to master reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026-03-10_113255.jpg" style="width: 521px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/135612i2211C8366CDD9EC8/image-dimensions/521x309?v=v2" width="521" height="309" role="button" title="2026-03-10_113255.jpg" alt="2026-03-10_113255.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026-03-10_115254.jpg" style="width: 628px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/135613i4431506B987B536F/image-dimensions/628x235?v=v2" width="628" height="235" role="button" title="2026-03-10_115254.jpg" alt="2026-03-10_115254.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Probably best to make a separate report for each type and union them, although I think there's a limit of 2 or 3 unions in a query builder template.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2026 11:54:04 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill/Query-Builder-How-to-Fetch-Attributes-from-Multiple-Part/m-p/1057948#M88464</guid>
      <dc:creator>rhart</dc:creator>
      <dc:date>2026-03-10T11:54:04Z</dc:date>
    </item>
  </channel>
</rss>

