<?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 How to identify missing value in column (without aggregation function)? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-identify-missing-value-in-column-without-aggregation/m-p/1655466#M49005</link>
    <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;unfortunately I could not find an answer to this question in the forum yet. I have a table X associated with table Y. I would like to primarily take the cost from table Y (the up-to-date cost values are to be found here) and if it is not available, only then from table X.&lt;/P&gt;&lt;P&gt;For some IDs from table X the entry in table Y is missing and theerefore the cost data can only be found in table X. Sample data:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Table Name&lt;/TD&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Monthly_Cost_X&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;450&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Table Name&lt;/TD&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Monthly_Cost_Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;For this purpose I was trying to use the MissingCount function, however, this only works with aggregates. What I would finally need in the end is something like this:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sum(if(MissingCount(Monthly_Cost_Y)&amp;gt;0, Monthly_Cost_X, Monthly_Cost_Y))&lt;BR /&gt;For the sample date I would expect the following sums: ID 1:100, ID 2: 450, ID 3: 200.&lt;BR /&gt;Could you please suggest me a solution to this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks and BR&lt;BR /&gt;Máté&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:29:49 GMT</pubDate>
    <dc:creator>MateP</dc:creator>
    <dc:date>2024-11-16T19:29:49Z</dc:date>
    <item>
      <title>How to identify missing value in column (without aggregation function)?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-identify-missing-value-in-column-without-aggregation/m-p/1655466#M49005</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;unfortunately I could not find an answer to this question in the forum yet. I have a table X associated with table Y. I would like to primarily take the cost from table Y (the up-to-date cost values are to be found here) and if it is not available, only then from table X.&lt;/P&gt;&lt;P&gt;For some IDs from table X the entry in table Y is missing and theerefore the cost data can only be found in table X. Sample data:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Table Name&lt;/TD&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Monthly_Cost_X&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;450&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Table Name&lt;/TD&gt;&lt;TD&gt;ID&lt;/TD&gt;&lt;TD&gt;Monthly_Cost_Y&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;For this purpose I was trying to use the MissingCount function, however, this only works with aggregates. What I would finally need in the end is something like this:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sum(if(MissingCount(Monthly_Cost_Y)&amp;gt;0, Monthly_Cost_X, Monthly_Cost_Y))&lt;BR /&gt;For the sample date I would expect the following sums: ID 1:100, ID 2: 450, ID 3: 200.&lt;BR /&gt;Could you please suggest me a solution to this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks and BR&lt;BR /&gt;Máté&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-identify-missing-value-in-column-without-aggregation/m-p/1655466#M49005</guid>
      <dc:creator>MateP</dc:creator>
      <dc:date>2024-11-16T19:29:49Z</dc:date>
    </item>
  </channel>
</rss>

