<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.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>Data into Excel</title><link>https://community.appian.com/discussions/f/user-interface/38954/data-into-excel</link><description>Hi 
 Do we have any plugins for below requirement, 
 Tyre Data Table: 
 Columns: TyreID (Primary Key), PartNumber (Foreign Key) 
 Country Restriction Table: 
 Columns: ID (Primary Key), PartNumber (Foreign Key), Country Name, IsActive (Boolean) These</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Data into Excel</title><link>https://community.appian.com/thread/147348?ContentTypeID=1</link><pubDate>Fri, 18 Apr 2025 18:01:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4175cb5a-25df-4d90-90fe-e7319e1f4bf1</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;I&amp;#39;m going to assume the export format is a pipe-delimited CSV file..?&lt;/p&gt;
&lt;p&gt;In this case, I would create a view to join the 2 tables and you can create an expression to populate a Text Doc from Template service such as below.&amp;nbsp; This shows each line as an array - for the actual file output we would add line breaks with char(13) and join the output into one string for the template.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="csharp"&gt;a!localVariables(
  local!data: {
    a!map(TyreID: 1, PartNumber: &amp;quot;ABC&amp;quot;, CountryName: &amp;quot;India&amp;quot;, IsActive: 1),
    a!map(TyreID: 1, PartNumber: &amp;quot;ABC&amp;quot;, CountryName: &amp;quot;US&amp;quot;, IsActive: 1),
    a!map(TyreID: 1, PartNumber: &amp;quot;ABC&amp;quot;, CountryName: &amp;quot;Sweden&amp;quot;, IsActive: 0),
    a!map(TyreID: 1, PartNumber: &amp;quot;ABC&amp;quot;, CountryName: &amp;quot;France&amp;quot;, IsActive: 0),
    a!map(TyreID: 2, PartNumber: &amp;quot;DEF&amp;quot;, CountryName: &amp;quot;India&amp;quot;, IsActive: 0),
    a!map(TyreID: 2, PartNumber: &amp;quot;DEF&amp;quot;, CountryName: &amp;quot;US&amp;quot;, IsActive: 0),
    a!map(TyreID: 2, PartNumber: &amp;quot;DEF&amp;quot;, CountryName: &amp;quot;Sweden&amp;quot;, IsActive: 1),
    a!map(TyreID: 2, PartNumber: &amp;quot;DEF&amp;quot;, CountryName: &amp;quot;France&amp;quot;, IsActive: 1)
  },
  local!delimiter: &amp;quot;|&amp;quot;,
  local!countries: union(local!data.CountryName,local!data.CountryName),
  local!PartNumber: union(local!data.PartNumber,local!data.PartNumber),
  local!header: joinarray({&amp;quot;PartNumber&amp;quot;,local!countries},local!delimiter),
  
  {
    local!header,
    a!forEach(
      items: local!PartNumber,
      expression: {
        concat(
          fv!item,
          local!delimiter,
          joinarray(index(local!data.IsActive,wherecontains(fv!item,local!data.PartNumber),null),local!delimiter)
        )
      }
    )
  }
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1744999219341v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Data into Excel</title><link>https://community.appian.com/thread/147344?ContentTypeID=1</link><pubDate>Fri, 18 Apr 2025 16:45:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dce244b2-f723-4304-913d-cde42d700fce</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You might be able to make a View that creates the flattened, row-by-row construct you describe here.&amp;nbsp; It would be very challenging to do it directly in any of the Excel Export options available.&amp;nbsp; If you&amp;#39;re able to get such a View working, though, you could export it to excel pretty easily using the Export DSE to Excel node, as far as I know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>