<?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: [resolved] tMap - default value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364912#M128596</link>
    <description>If you look at the screenshot and the output scheme named withidentityinfo, you can see in the bottom right corner, that I have assigned a default for the variables SeedValue and IncrmentValue. However, when my lookup does not provide a match, I do not see these default values in my output row. If the default value for the case that the lookup fails needs to be defined at a different place, then I would be curious to know where I have to define the default instead.</description>
    <pubDate>Sat, 23 Apr 2016 08:57:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-23T08:57:46Z</dc:date>
    <item>
      <title>[resolved] tMap - default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364906#M128590</link>
      <description>&lt;P&gt;Hallo,&lt;BR /&gt;&lt;BR /&gt;I have following tMap.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In my output rows in case that the left outer join does not match I do not get the default I have assigned for the columns SeedValue and IncrementValue, instead I get null;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MH6n.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154721i7B709DBAC1F08F67/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MH6n.png" alt="0683p000009MH6n.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 10:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364906#M128590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-22T10:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMap - default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364907#M128591</link>
      <description>Hi,
&lt;BR /&gt;Did you get&amp;nbsp;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;zero rows &amp;nbsp;from your 'lookup' file? Is your match model "Unique Match" or "All match"? (sorry we don't understand this language)&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 22 Apr 2016 10:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364907#M128591</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-22T10:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMap - default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364908#M128592</link>
      <description>Hi Sabrina,
&lt;BR /&gt;I have one row from my lookup. My match model is Unique match.
&lt;BR /&gt;Best regards, Walter</description>
      <pubDate>Fri, 22 Apr 2016 13:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364908#M128592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-22T13:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMap - default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364909#M128593</link>
      <description>"&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;In my output rows in case that the left outer join does not match I do not get the default I have assigned for the columns SeedValue and IncrementValue, instead I get null;"&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;It sounds like your saying that you want to supply a default when the join fails; but your Job does not suggest that you're providing a default.&lt;BR /&gt;If you're getting null, then your join is not matching and you have no default being supplied.</description>
      <pubDate>Fri, 22 Apr 2016 17:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364909#M128593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-22T17:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMap - default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364910#M128594</link>
      <description>Sorry, but I do not understand your answer. As you can see in the picture of my tMap, I have assigned a default value!</description>
      <pubDate>Fri, 22 Apr 2016 18:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364910#M128594</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-22T18:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMap - default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364911#M128595</link>
      <description>&lt;BLOCKQUOTE&gt;wtaus wrote:&lt;BR /&gt;Sorry, but I do not understand your answer. As you can see in the picture of my tMap, I have assigned a default value!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I can see a field named DefaultValue on your output schema, which is populated by your driving table. If it is null, then it is because this input data is null.&lt;BR /&gt;For the values that come from your look-up table, nothing happens if no look-up match is made, so the corresponding output fields may be null.&lt;BR /&gt;If by default, you mean to assign a value when a look-up fails, then I cannot see that from your tMap.</description>
      <pubDate>Fri, 22 Apr 2016 18:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364911#M128595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-22T18:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMap - default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364912#M128596</link>
      <description>If you look at the screenshot and the output scheme named withidentityinfo, you can see in the bottom right corner, that I have assigned a default for the variables SeedValue and IncrmentValue. However, when my lookup does not provide a match, I do not see these default values in my output row. If the default value for the case that the lookup fails needs to be defined at a different place, then I would be curious to know where I have to define the default instead.</description>
      <pubDate>Sat, 23 Apr 2016 08:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364912#M128596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-23T08:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMap - default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364913#M128597</link>
      <description>Got you.&lt;BR /&gt;They way I would achieve what you're after is to amend the output mapping: -&lt;BR /&gt;row9.SeedValue == null ? 0 : row9.SeedValue&lt;BR /&gt;...and you can externalise the default if you wish...&lt;BR /&gt;row9.SeedValue == null ? context.defaultSeedValue : row9.SeedValue&lt;BR /&gt;&lt;BR /&gt;"DefaultValue" may or may not work in the way you're after; but I have always found it a troublesome feature and do not use it.</description>
      <pubDate>Sat, 23 Apr 2016 09:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364913#M128597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-23T09:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tMap - default value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364914#M128598</link>
      <description>modified the output mapping according to your proposal and it works.
&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 23 Apr 2016 15:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tMap-default-value/m-p/2364914#M128598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-23T15:47:31Z</dc:date>
    </item>
  </channel>
</rss>

