<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>combine lists - Kodeqa</title>
	<atom:link href="https://kodeqa.com/tag/combine-lists/feed/" rel="self" type="application/rss+xml" />
	<link>https://kodeqa.com</link>
	<description>Official Website</description>
	<lastBuildDate>Sat, 18 Jan 2025 10:14:44 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://kodeqa.com/wp-content/uploads/2024/03/cropped-kodeqa-favicon-32x32.png</url>
	<title>combine lists - Kodeqa</title>
	<link>https://kodeqa.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to combine multiple data sources into one in electronic reporting (ER) configurations</title>
		<link>https://kodeqa.com/how-to-combine-multiple-data-sources-into-one-in-electronic-reporting-er-configurations/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-combine-multiple-data-sources-into-one-in-electronic-reporting-er-configurations</link>
					<comments>https://kodeqa.com/how-to-combine-multiple-data-sources-into-one-in-electronic-reporting-er-configurations/#respond</comments>
		
		<dc:creator><![CDATA[Antonio]]></dc:creator>
		<pubDate>Sat, 18 Jan 2025 08:42:50 +0000</pubDate>
				<category><![CDATA[Electronic Reporting]]></category>
		<category><![CDATA[CBD]]></category>
		<category><![CDATA[combine data sources]]></category>
		<category><![CDATA[combine lists]]></category>
		<category><![CDATA[D365FO]]></category>
		<category><![CDATA[electronic reporting]]></category>
		<category><![CDATA[ER configurations]]></category>
		<category><![CDATA[LISTJOIN]]></category>
		<guid isPermaLink="false">https://kodeqa.com/?p=1931</guid>

					<description><![CDATA[<p>When working with Electronic Reporting (ER) configurations, grouping records is often essential. The LISTJOIN function enables you to consolidate data from multiple lists, which is especially useful when managing data from various sources with common fields. Here’s how to make the most of the LISTJOIN function in your ER configurations. Using LISTJOIN in Electronic reporting [&#8230;]</p>
<p>The post <a href="https://kodeqa.com/how-to-combine-multiple-data-sources-into-one-in-electronic-reporting-er-configurations/">How to combine multiple data sources into one in electronic reporting (ER) configurations</a> first appeared on <a href="https://kodeqa.com">Kodeqa</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="aligncenter size-large"><img fetchpriority="high" decoding="async" width="1024" height="690" src="https://kodeqa.com/wp-content/uploads/2025/01/2958290_v2-1024x690.jpg" alt="" class="wp-image-1970" srcset="https://kodeqa.com/wp-content/uploads/2025/01/2958290_v2-1024x690.jpg 1024w, https://kodeqa.com/wp-content/uploads/2025/01/2958290_v2-300x202.jpg 300w, https://kodeqa.com/wp-content/uploads/2025/01/2958290_v2-768x518.jpg 768w, https://kodeqa.com/wp-content/uploads/2025/01/2958290_v2-1536x1035.jpg 1536w, https://kodeqa.com/wp-content/uploads/2025/01/2958290_v2.jpg 2000w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>


<p>When working with Electronic Reporting (ER) configurations, grouping records is often essential. The <strong>LISTJOIN </strong>function enables you to consolidate data from multiple lists, which is especially useful when managing data from various sources with common fields. Here’s how to make the most of the <strong>LISTJOIN </strong>function in your ER configurations.</p>



</br>
<h2 class="wp-block-heading">Using LISTJOIN in Electronic reporting</h2>



<p>When displaying a repeating section in a template, you typically work with a single list (e.g., showing all lines of a sales invoice on a document). However, sometimes you need to combine records from multiple lists. This is helpful when data is spread across different sources that share common fields, like transactions in a project invoice. In this scenario, a project invoice might include multiple types of transactions, such as expenses, fees, items, and hourly charges.</p>



<p>Different lists may contain distinct fields, as seen in the example below.</p>



<figure class="wp-block-image size-full is-resized"><img decoding="async" width="203" height="348" src="https://kodeqa.com/wp-content/uploads/2024/11/Screenshot-2024-11-26-103142.png" alt="" class="wp-image-1935" style="width:174px;height:auto" srcset="https://kodeqa.com/wp-content/uploads/2024/11/Screenshot-2024-11-26-103142.png 203w, https://kodeqa.com/wp-content/uploads/2024/11/Screenshot-2024-11-26-103142-175x300.png 175w" sizes="(max-width: 203px) 100vw, 203px" /></figure>



</br>
<ul class="wp-block-list">
<li>The <strong>Expenses</strong> container has fields for <strong>Amount</strong>, <strong>Description</strong>, <strong>Quantity</strong>, and <strong>Type</strong>.</li>



<li>The <strong>Items</strong> container has fields for <strong>Amount</strong>, <strong>Description</strong>, <strong>ItemId</strong>, <strong>Quantity</strong>, and <strong>Unit</strong>.</li>
</ul>



<p>Below is the formula which allows us to join our two lists in our ER format’s mapping in a new calculated field:</p>



<pre class="wp-block-code"><code>LISTJOIN(@.Expenses, @.Items)</code></pre>



<p>The resulting list will only include the fields that are common across both lists, in this case, <strong>Amount</strong>, <strong>Description</strong>, and <strong>Quantity</strong>.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="195" height="124" src="https://kodeqa.com/wp-content/uploads/2024/11/Screenshot-2024-11-26-103758.png" alt="" class="wp-image-1936"/></figure>



<p></br></p>



<h2 class="wp-block-heading">Field Requirements</h2>



<p>To join records from different lists, ensure that any fields you want in the final, consolidated list exist in all the lists you’re combining. If a field is missing from even one of the lists, it won’t appear in the final joined list, potentially leaving gaps in your data.</p>



<p></br></p>



<h2 class="wp-block-heading">Handling Missing Fields</h2>



<p>If some lists lack the required fields, you can add those fields to make the list join work seamlessly. Ensure the new fields have the same name and type as in the other lists. You can set placeholders in your model mapping for these new fields to prevent errors from empty fields. </p>



<p></br></p>



<h2 class="wp-block-heading">Steps to Implement the Solution</h2>



<ol start="1" class="wp-block-list">
<li><strong>Identify Missing Fields</strong>: Determine which fields are missing in each list.</li>



<li><strong>Create Missing Fields</strong>: Add these fields with the same names and types to lists where they are missing. In our example, <strong>Expenses </strong>list is missing the <strong>ItemId </strong>and <strong>Unit </strong>fields, while the <strong>Items </strong>list is missing the <strong>Type </strong>field.</li>



<li><strong>Set Placeholders</strong>: Use placeholders in your model mapping for these fields to handle errors caused by empty fields.</li>
</ol>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="247" height="377" src="https://kodeqa.com/wp-content/uploads/2024/11/Screenshot-2024-11-26-110334.png" alt="" class="wp-image-1938" srcset="https://kodeqa.com/wp-content/uploads/2024/11/Screenshot-2024-11-26-110334.png 247w, https://kodeqa.com/wp-content/uploads/2024/11/Screenshot-2024-11-26-110334-197x300.png 197w" sizes="(max-width: 247px) 100vw, 247px" /></figure>



</br>
<p>The result is a consolidated list with all the required fields from both lists.</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="270" height="221" src="https://kodeqa.com/wp-content/uploads/2024/11/Screenshot-2024-11-26-110833.png" alt="" class="wp-image-1941" style="width:250px;height:auto"/></figure>



</br>
<p>By following these steps, you can use the <strong>LISTJOIN </strong>function in an ER configuration effectively. This approach ensures your data is easily combined in single data source and is easy to display.</p>



<p><a href="https://www.freepik.com/free-vector/transfer-files-concept-landing-page_5632211.htm#fromView=search&amp;page=2&amp;position=12&amp;uuid=84e3f239-4ac5-4001-b151-b0b7afd7703a&amp;new_detail=true&amp;query=download+files+multiple">Image by freepik</a></p>



<p></p><p>The post <a href="https://kodeqa.com/how-to-combine-multiple-data-sources-into-one-in-electronic-reporting-er-configurations/">How to combine multiple data sources into one in electronic reporting (ER) configurations</a> first appeared on <a href="https://kodeqa.com">Kodeqa</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://kodeqa.com/how-to-combine-multiple-data-sources-into-one-in-electronic-reporting-er-configurations/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
