<?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 Display text data in Table Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-text-data-in-Table-Expression/m-p/1594460#M737896</link>
    <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;Beginner on QlikView, I need help to create a table that I can't do,&lt;/P&gt;&lt;P&gt;I would like to have something like this &lt;STRONG&gt;&lt;U&gt;(with Total)&lt;/U&gt;&lt;/STRONG&gt; :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 206px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14142iAAA699AA9DFDF636/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But in my table on QlikView, text data "CP" and "CM" are not displayed.&lt;/P&gt;&lt;P&gt;I put like Expression :&lt;/P&gt;&lt;P&gt;=if(jour = 11 and [temps prod]='CP','CP',&lt;BR /&gt;if(jour = 11 and [temps prod]='CM','CM',&lt;BR /&gt;Interval( sum(if(jour = 11, [temps prod])) ,'hh:mm:ss')&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;in attached my QVW file and below the txt data,&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA.txt :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent;agentid;Start;temps;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent1;1104;11/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent2;1030;11/03/19 07:00;06:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent3;1226;11/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent4;1070;11/03/19 11:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent5;1146;11/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent6;1225;11/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent7;1018;11/03/19 08:00;09:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent8;1197;11/03/19 12:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent9;1186;11/03/19 CP;CP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent10;1167;11/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent11;1036;11/03/19 08:00;06:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent12;1058;11/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent13;1037;11/03/19 CM;CM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent14;1103;11/03/19 08:00;06:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent15;1122;11/03/19 08:00;05:00:00&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent1;1104;12/03/19 11:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent2;1030;12/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent3;1226;12/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent4;1070;12/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent5;1146;12/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent6;1225;12/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent7;1018;12/03/19 08:00;09:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent8;1197;12/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent9;1186;12/03/19 CM;CM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent10;1167;12/03/19 12:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent11;1036;12/03/19 08:00;06:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent12;1058;12/03/19 07:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent13;1037;12/03/19 CP;CP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent14;1103;12/03/19 08:00;06:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent15;1122;12/03/19 08:00;05:00:00&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:13:26 GMT</pubDate>
    <dc:creator>harson</dc:creator>
    <dc:date>2024-11-16T03:13:26Z</dc:date>
    <item>
      <title>Display text data in Table Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Display-text-data-in-Table-Expression/m-p/1594460#M737896</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;Beginner on QlikView, I need help to create a table that I can't do,&lt;/P&gt;&lt;P&gt;I would like to have something like this &lt;STRONG&gt;&lt;U&gt;(with Total)&lt;/U&gt;&lt;/STRONG&gt; :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 206px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14142iAAA699AA9DFDF636/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But in my table on QlikView, text data "CP" and "CM" are not displayed.&lt;/P&gt;&lt;P&gt;I put like Expression :&lt;/P&gt;&lt;P&gt;=if(jour = 11 and [temps prod]='CP','CP',&lt;BR /&gt;if(jour = 11 and [temps prod]='CM','CM',&lt;BR /&gt;Interval( sum(if(jour = 11, [temps prod])) ,'hh:mm:ss')&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;in attached my QVW file and below the txt data,&lt;/P&gt;&lt;P&gt;Thanks in advance for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA.txt :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent;agentid;Start;temps;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent1;1104;11/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent2;1030;11/03/19 07:00;06:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent3;1226;11/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent4;1070;11/03/19 11:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent5;1146;11/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent6;1225;11/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent7;1018;11/03/19 08:00;09:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent8;1197;11/03/19 12:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent9;1186;11/03/19 CP;CP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent10;1167;11/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent11;1036;11/03/19 08:00;06:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent12;1058;11/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent13;1037;11/03/19 CM;CM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent14;1103;11/03/19 08:00;06:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent15;1122;11/03/19 08:00;05:00:00&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent1;1104;12/03/19 11:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent2;1030;12/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent3;1226;12/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent4;1070;12/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent5;1146;12/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent6;1225;12/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent7;1018;12/03/19 08:00;09:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent8;1197;12/03/19 08:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent9;1186;12/03/19 CM;CM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent10;1167;12/03/19 12:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent11;1036;12/03/19 08:00;06:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent12;1058;12/03/19 07:00;07:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent13;1037;12/03/19 CP;CP&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent14;1103;12/03/19 08:00;06:00:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Agent15;1122;12/03/19 08:00;05:00:00&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-text-data-in-Table-Expression/m-p/1594460#M737896</guid>
      <dc:creator>harson</dc:creator>
      <dc:date>2024-11-16T03:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Display text data in Table Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Display-text-data-in-Table-Expression/m-p/1594467#M737897</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I think you should think carefully what you are trying to achieve.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Flag those agents that are CM or CP&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Use set analysis instead of Ifs&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Please, see the attached file. I use your sample data to flag the agents (script side) and I could build up the following table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="solve.png" style="width: 298px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14145i278FEFC4BE3FD25E/image-size/large?v=v2&amp;amp;px=999" role="button" title="solve.png" alt="solve.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaime.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 07:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-text-data-in-Table-Expression/m-p/1594467#M737897</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2019-06-21T07:11:10Z</dc:date>
    </item>
  </channel>
</rss>

