<?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: Display a column based on the count of values in another column in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Display-a-column-based-on-the-count-of-values-in-another-column/m-p/2474619#M100048</link>
    <description>&lt;P&gt;Thanks so much!&lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2024 15:12:57 GMT</pubDate>
    <dc:creator>Qlik_Learner11</dc:creator>
    <dc:date>2024-08-05T15:12:57Z</dc:date>
    <item>
      <title>Display a column based on the count of values in another column</title>
      <link>https://community.qlik.com/t5/App-Development/Display-a-column-based-on-the-count-of-values-in-another-column/m-p/2474396#M100029</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;I need your help on my problem. So, I can't actually make any changes to the script. I have below data in the loaded table.&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 144pt;" border="0" width="192" cellspacing="0" cellpadding="0"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 48pt;" span="3" width="64" /&gt; &lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" style="height: 15.0pt; width: 48pt;"&gt;tkt_nbr&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;show_id&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;cust_id&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1001&lt;/TD&gt;
&lt;TD&gt;s1&lt;/TD&gt;
&lt;TD&gt;c1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1001&lt;/TD&gt;
&lt;TD&gt;s1&lt;/TD&gt;
&lt;TD&gt;c2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1001&lt;/TD&gt;
&lt;TD&gt;s2&lt;/TD&gt;
&lt;TD&gt;c1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1001&lt;/TD&gt;
&lt;TD&gt;s2&lt;/TD&gt;
&lt;TD&gt;c2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1001&lt;/TD&gt;
&lt;TD&gt;s2&lt;/TD&gt;
&lt;TD&gt;c3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1002&lt;/TD&gt;
&lt;TD&gt;s1&lt;/TD&gt;
&lt;TD&gt;c9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1002&lt;/TD&gt;
&lt;TD&gt;s1&lt;/TD&gt;
&lt;TD&gt;c8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1002&lt;/TD&gt;
&lt;TD&gt;s1&lt;/TD&gt;
&lt;TD&gt;c10&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1003&lt;/TD&gt;
&lt;TD&gt;s7&lt;/TD&gt;
&lt;TD&gt;c9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1004&lt;/TD&gt;
&lt;TD&gt;s1&lt;/TD&gt;
&lt;TD&gt;c5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1005&lt;/TD&gt;
&lt;TD&gt;s8&lt;/TD&gt;
&lt;TD&gt;c1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;I need to display the ticket numbers which have more than 1 shows or more than 1 customers on it. I need to create a table box or Straight table to achieve this in the app AccessPoint. My understanding is that table box doesn't support calculated dimensions, so my option is to go with Straight table. I need the below output.&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 144pt;" border="0" width="192" cellspacing="0" cellpadding="0"&gt;&lt;COLGROUP&gt;&lt;COL style="width: 48pt;" span="3" width="64" /&gt; &lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" style="height: 15.0pt; width: 48pt;"&gt;tkt_nbr&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;#shows&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;#cust&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1001&lt;/TD&gt;
&lt;TD align="right"&gt;2&lt;/TD&gt;
&lt;TD align="right"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" style="height: 15.0pt;"&gt;1002&lt;/TD&gt;
&lt;TD align="right"&gt;1&lt;/TD&gt;
&lt;TD align="right"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Could someone please help? Thank you so much in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 17:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-a-column-based-on-the-count-of-values-in-another-column/m-p/2474396#M100029</guid>
      <dc:creator>Qlik_Learner11</dc:creator>
      <dc:date>2024-08-02T17:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Display a column based on the count of values in another column</title>
      <link>https://community.qlik.com/t5/App-Development/Display-a-column-based-on-the-count-of-values-in-another-column/m-p/2474401#M100030</link>
      <description>&lt;P&gt;using load script:&lt;/P&gt;
&lt;P&gt;T:&lt;BR /&gt;load * where [#shows]+[#cust]&amp;gt;2;&lt;BR /&gt;load tkt_nbr,count(DISTINCT show_id) as [#shows],count(DISTINCT cust_id) as [#cust]&lt;/P&gt;
&lt;P&gt;Group by tkt_nbr;&lt;BR /&gt;;&lt;BR /&gt;load * Inline [&lt;BR /&gt;tkt_nbr show_id cust_id&lt;BR /&gt;1001 s1 c1&lt;BR /&gt;1001 s1 c2&lt;BR /&gt;1001 s2 c1&lt;BR /&gt;1001 s2 c2&lt;BR /&gt;1001 s2 c3&lt;BR /&gt;1002 s1 c9&lt;BR /&gt;1002 s1 c8&lt;BR /&gt;1002 s1 c10&lt;BR /&gt;1003 s7 c9&lt;BR /&gt;1004 s1 c5&lt;BR /&gt;1005 s8 c1&lt;/P&gt;
&lt;P&gt;](delimiter is ' ')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or else use below logic in frontend:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anat_0-1722626007894.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170166iD5802EB1667A975C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anat_0-1722626007894.png" alt="anat_0-1722626007894.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 19:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-a-column-based-on-the-count-of-values-in-another-column/m-p/2474401#M100030</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2024-08-02T19:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Display a column based on the count of values in another column</title>
      <link>https://community.qlik.com/t5/App-Development/Display-a-column-based-on-the-count-of-values-in-another-column/m-p/2474549#M100039</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/227742"&gt;@Qlik_Learner11&lt;/a&gt;&amp;nbsp; Use below expressions&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;#shows&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=Count({&amp;lt;&lt;STRONG&gt;tkt_nbr&lt;/STRONG&gt;={"=&lt;EM&gt;count(distinct show_id)&amp;gt;1 or count(distinct cust_id)&amp;gt;1&lt;/EM&gt;"}&amp;gt;} distinct &lt;STRONG&gt;show_id&lt;/STRONG&gt;)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;#cust&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=Count({&amp;lt;&lt;STRONG&gt;tkt_nbr&lt;/STRONG&gt;={"=&lt;EM&gt;count(distinct show_id)&amp;gt;1 or count(distinct cust_id)&amp;gt;1&lt;/EM&gt;"}&amp;gt;} distinct &lt;STRONG&gt;cust_id&lt;/STRONG&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 10:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-a-column-based-on-the-count-of-values-in-another-column/m-p/2474549#M100039</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-08-05T10:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Display a column based on the count of values in another column</title>
      <link>https://community.qlik.com/t5/App-Development/Display-a-column-based-on-the-count-of-values-in-another-column/m-p/2474618#M100047</link>
      <description>&lt;P&gt;Thanks so much!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 15:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-a-column-based-on-the-count-of-values-in-another-column/m-p/2474618#M100047</guid>
      <dc:creator>Qlik_Learner11</dc:creator>
      <dc:date>2024-08-05T15:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Display a column based on the count of values in another column</title>
      <link>https://community.qlik.com/t5/App-Development/Display-a-column-based-on-the-count-of-values-in-another-column/m-p/2474619#M100048</link>
      <description>&lt;P&gt;Thanks so much!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 15:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-a-column-based-on-the-count-of-values-in-another-column/m-p/2474619#M100048</guid>
      <dc:creator>Qlik_Learner11</dc:creator>
      <dc:date>2024-08-05T15:12:57Z</dc:date>
    </item>
  </channel>
</rss>

