<?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: Count with different columns in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-with-different-columns/m-p/2076195#M88267</link>
    <description>&lt;P&gt;I would merge the status and the value fields into a single field each, for example like:&lt;/P&gt;
&lt;P&gt;t: load ID, Area, Status1 as Status, V1 as V, 1 as Source from Source; concatenate(t)&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;load ID, Area, Status2 as Status, V2 as V, 2 as Source from Source;&lt;/P&gt;
&lt;P&gt;If there are more status-fields it might be more practically to load this logic with one or two crosstable loads.&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2023 12:02:41 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2023-05-25T12:02:41Z</dc:date>
    <item>
      <title>Count with different columns</title>
      <link>https://community.qlik.com/t5/App-Development/Count-with-different-columns/m-p/2076178#M88266</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;
&lt;P&gt;below is my table (after transformation my data looks like below)&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;ID, AREA, Status_1, Status_V1, Status_2, Status_V2&lt;BR /&gt;100, Qlik Sense, Qlik Sense, 80, QlikView, 20&lt;BR /&gt;101, QlikView, QlikView, 100, , &lt;BR /&gt;102, QlikView, QlikView, 100, , &lt;BR /&gt;103, QlikView, QlikView, 100, , &lt;BR /&gt;104, QlikView, QlikView, 100, , &lt;BR /&gt;105, QlikView, QlikView, 100, , &lt;BR /&gt;106, QlikView, QlikView, 100, , &lt;BR /&gt;107, QlikView, QlikView, 100, , &lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paulwalker_2-1685013058615.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108290iE4B06138B74FB2BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paulwalker_2-1685013058615.png" alt="paulwalker_2-1685013058615.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;My count should be club with Status_1 and Status_2&lt;/P&gt;
&lt;P&gt;QlikView Count should be 8 (which I have highlighted) and Qlik Sense should be 1&lt;/P&gt;
&lt;P&gt;and same way sum QlikView=720 and Qlik Sense=80&lt;/P&gt;
&lt;P&gt;Please note should not be hard code in set expression, I have many values&amp;nbsp; not only &lt;STRONG&gt;QlikView &lt;/STRONG&gt;and &lt;STRONG&gt;Qlik Sense.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;,&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6748"&gt;@stevedark&lt;/a&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;and Experts - Can you please take a look!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 11:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-with-different-columns/m-p/2076178#M88266</guid>
      <dc:creator>paulwalker</dc:creator>
      <dc:date>2023-05-25T11:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count with different columns</title>
      <link>https://community.qlik.com/t5/App-Development/Count-with-different-columns/m-p/2076195#M88267</link>
      <description>&lt;P&gt;I would merge the status and the value fields into a single field each, for example like:&lt;/P&gt;
&lt;P&gt;t: load ID, Area, Status1 as Status, V1 as V, 1 as Source from Source; concatenate(t)&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;load ID, Area, Status2 as Status, V2 as V, 2 as Source from Source;&lt;/P&gt;
&lt;P&gt;If there are more status-fields it might be more practically to load this logic with one or two crosstable loads.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 12:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-with-different-columns/m-p/2076195#M88267</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-05-25T12:02:41Z</dc:date>
    </item>
  </channel>
</rss>

