<?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 where specific text is found in multiple fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708807#M725190</link>
    <description>&lt;P&gt;Thanks for the reply &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;. There is no mention of the Labels fields though in your statement, but i will give this a try&lt;/P&gt;</description>
    <pubDate>Sun, 07 Jun 2020 09:35:34 GMT</pubDate>
    <dc:creator>Kev_Thomas</dc:creator>
    <dc:date>2020-06-07T09:35:34Z</dc:date>
    <item>
      <title>Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708760#M725188</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I have a spreadsheet with a mass of data and trying to avoid doing too much pre-processing in Excel before loading into Qlikview. The data is an extract from Jira and contains a number of fields, but the one's I'm interested in are:&lt;BR /&gt;&lt;BR /&gt;Issue ID - which is the unique identifier of the Jira ticket&lt;BR /&gt;TPR - Target Production Release (an identifier that can group records together by a specific TPR)&lt;/P&gt;&lt;P&gt;Labels&lt;BR /&gt;Labels1&lt;BR /&gt;Labels2&lt;BR /&gt;Labels3 etc. upto&amp;nbsp;&lt;BR /&gt;Labels20&lt;/P&gt;&lt;P&gt;What I need to do is count the number of unique Issue IDs where the Labels(n) fields contain data that looks like 'RC*' (using a Wildcard search) and group this by the TPR (which is the dimension on the chart).&lt;BR /&gt;&lt;BR /&gt;Not sure how to construct this in a way that will allow me to plot the number of records (count of Issue ID), by TPR.&lt;BR /&gt;&lt;BR /&gt;Any clues, suggestions would be much appreciated.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;/P&gt;&lt;P&gt;Kev&lt;BR /&gt;&lt;BR /&gt;I've tried using OR statements in expressions, but can't seem to get a simple line chart going &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708760#M725188</guid>
      <dc:creator>Kev_Thomas</dc:creator>
      <dc:date>2024-11-16T00:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708804#M725189</link>
      <description>&lt;P&gt;Hi, if the dimension is TPR the group by would be done by the chart itselft.&lt;/P&gt;&lt;P&gt;And the expresion to count issues can be: Count(Distinct {&amp;lt;[&lt;SPAN&gt;Issue ID]={"RC*"}&amp;gt;} [Issue ID])&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 09:13:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708804#M725189</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-06-07T09:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708807#M725190</link>
      <description>&lt;P&gt;Thanks for the reply &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;. There is no mention of the Labels fields though in your statement, but i will give this a try&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 09:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708807#M725190</guid>
      <dc:creator>Kev_Thomas</dc:creator>
      <dc:date>2020-06-07T09:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708813#M725191</link>
      <description>&lt;P&gt;I suggest to change the datamodel to transform your crosstable into a "normal" table. See here what's meant:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-Crosstable-Load/ba-p/1468083" target="_self"&gt;The-Crosstable-Load&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 11:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708813#M725191</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-06-07T11:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708816#M725192</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;, that does look useful, but I have a data file with 84 columns and so unless I can split the load of the file into two sections, I may struggle with this approach. Apologies for trying to simplify the question, but it's more that I'm probably not explaining the scenario properly.&lt;BR /&gt;&lt;BR /&gt;A cutdown example of what I'm looking at is show below.&lt;BR /&gt;&lt;BR /&gt;So I need to be able to count any issue id where 'RC*' can be found in any of the Labels Columns.&lt;/P&gt;&lt;TABLE border="1" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Issue id&lt;/TD&gt;&lt;TD&gt;Labels&lt;/TD&gt;&lt;TD&gt;Labels1&lt;/TD&gt;&lt;TD&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/TR&gt;&lt;TR&gt;&lt;TD&gt;333645&lt;/TD&gt;&lt;TD&gt;RCxxx&lt;/TD&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;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;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sun, 07 Jun 2020 12:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708816#M725192</guid>
      <dc:creator>Kev_Thomas</dc:creator>
      <dc:date>2020-06-07T12:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708820#M725193</link>
      <description>&lt;P&gt;If you apply the crosstable-load you will get a table with 3 columns: Issue Id, a category-field (name it like you want - it will contain the information which label it is) and a value-field (again you could name it and it contained the values).&lt;/P&gt;&lt;P&gt;After it you could load this table again and adding:&lt;/P&gt;&lt;P&gt;if(value like 'RC*', 1, 0) as Flag&lt;/P&gt;&lt;P&gt;and then you could just use:&lt;/P&gt;&lt;P&gt;sum(Flag)&lt;/P&gt;&lt;P&gt;within any UI object or you may use this flag-field within a set analysis or in a listbox - it's quite simple.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 13:13:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708820#M725193</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-06-07T13:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708836#M725194</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;- I see what you're getting at now. Thanks for the advice. I'll certainly gen up on the crosstable load and see how I can apply this.&lt;BR /&gt;&lt;BR /&gt;I (foolishly?) was under the impression you could only do one load from a file per "project".&lt;BR /&gt;&lt;BR /&gt;I'll let you know how it goes. Thanks again. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 15:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708836#M725194</guid>
      <dc:creator>Kev_Thomas</dc:creator>
      <dc:date>2020-06-07T15:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708837#M725195</link>
      <description>&lt;P&gt;Sorry, a mix of my bad english and fast reading and I skip an important part, it looks clearer with the sample data.&lt;/P&gt;&lt;P&gt;I think Marcus solution is the best approach.&lt;/P&gt;&lt;P&gt;An OR in set analysis can be done as:&amp;nbsp;=Count(Distinct {&amp;lt;Label1={"RC*"}&amp;gt;+&amp;lt;Label2={"RC*"}&amp;gt;+&amp;lt;Label3={"RC*"}&amp;gt;.&lt;EM&gt;..to Label20&lt;/EM&gt;} [Issue ID])&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 16:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708837#M725195</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-06-07T16:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708851#M725196</link>
      <description>&lt;P&gt;One solution is.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;tab1:
LOAD * INLINE [
    Issue id, Labels, Labels1, Labels2, Labels3, Labels4, Labels5, Labels6
    319626, aaaaaa, bbbbb, RCxxx,  ,  ,  ,  
    322523, cccccc, RCxxx,  ,  ,  ,  ,  
    326580, RCxxx,  ,  ,  ,  ,  ,  
    326988, ddddd, eeeee, fffff, RCxxx,  ,  ,  
    327181, RCxxx,  ,  ,  ,  ,  ,  
    327694, ggggg, RCxxx,  ,  ,  ,  ,  
    331115, hhhhh, iiiii, jjjjj, kkkkk, lllll, RCxxx,  
    331761, mmmmm, nnnnn, ooooo, ppppp, RCxxx,  ,  
    333645, RCxxx,  ,  ,  ,  ,  ,  
];

tab1X:
CrossTable(Key, Value)
LOAD * Resident tab1;

tab2:
NoConcatenate
LOAD *
Resident tab1X
Where Value Like 'RC*'
;

Drop Table tab1, tab1X;&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 07 Jun 2020 21:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708851#M725196</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-07T21:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708853#M725197</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV04.PNG" style="width: 152px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35106i416DFA705A7C6673/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV04.PNG" alt="commQV04.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 21:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1708853#M725197</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-07T21:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709046#M725198</link>
      <description>&lt;P&gt;I completely missed the Count part.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;tab1:
LOAD * INLINE [
    Issue id, Labels, Labels1, Labels2, Labels3, Labels4, Labels5, Labels6
    319626, aaaaaa, bbbbb, RCxxx,  ,  ,  ,  
    322523, cccccc, RCxxx,  ,  ,  ,  ,  
    326580, RCxxx,  ,  ,  ,  ,  ,  
    326988, ddddd, eeeee, fffff, RCxxx,  ,  ,  
    327181, RCxxx,  ,  ,  ,  ,  ,  
    327694, ggggg, RCxxx,  ,  ,  ,  ,  
    331115, hhhhh, iiiii, jjjjj, kkkkk, lllll, RCxxx,  
    331761, mmmmm, nnnnn, ooooo, ppppp, RCxxx,  ,  
    333645, RCxxx,  ,  ,  ,  ,  ,  
];

tab1X:
CrossTable(Key, Value)
LOAD * Resident tab1;

tab2:
LOAD [Issue id], Count(Value) As Cnt
Resident tab1X
Where Value Like 'RC*'
Group By [Issue id]
;

Drop Table tab1, tab1X;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 08 Jun 2020 14:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709046#M725198</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-08T14:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709050#M725199</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="commQV08.PNG" style="width: 85px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35139i308E84D7B7AE30F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="commQV08.PNG" alt="commQV08.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 14:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709050#M725199</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-08T14:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709137#M725200</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/894"&gt;@Saravanan_Desingh&lt;/a&gt;&amp;nbsp;- thanks for your input.&lt;BR /&gt;&lt;BR /&gt;I'm actually just getting a syntax error while trying to follow your idea. Not sure where I'm going wrong with this. Sorry if it's a lot simpler than I'm grasping.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This is my load script.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;AllData:&lt;BR /&gt;LOAD RCCount,&lt;BR /&gt;RICount,&lt;BR /&gt;RRCount,&lt;BR /&gt;[Issue Type],&lt;BR /&gt;[Issue key],&lt;BR /&gt;[Issue id],&lt;BR /&gt;Summary,&lt;BR /&gt;Status,&lt;BR /&gt;Severity,&lt;BR /&gt;[Test Env],&lt;BR /&gt;TPR,&lt;BR /&gt;Proposition,&lt;BR /&gt;Proposition1,&lt;BR /&gt;Proposition2,&lt;BR /&gt;Proposition3,&lt;BR /&gt;Proposition4,&lt;BR /&gt;Proposition5,&lt;BR /&gt;[Feature Team],&lt;BR /&gt;Labels,&lt;BR /&gt;Labels1,&lt;BR /&gt;Labels2,&lt;BR /&gt;Labels3,&lt;BR /&gt;Labels4,&lt;BR /&gt;Labels5,&lt;BR /&gt;Labels6,&lt;BR /&gt;Labels7,&lt;BR /&gt;Labels8,&lt;BR /&gt;Labels9,&lt;BR /&gt;Labels10,&lt;BR /&gt;Labels11,&lt;BR /&gt;Labels12,&lt;BR /&gt;Labels13,&lt;BR /&gt;Labels14,&lt;BR /&gt;Labels15,&lt;BR /&gt;Labels16,&lt;BR /&gt;Labels17,&lt;BR /&gt;Labels18,&lt;BR /&gt;Labels19,&lt;BR /&gt;Labels20,&lt;BR /&gt;Labels21,&lt;BR /&gt;Labels22,&lt;BR /&gt;Labels23,&lt;BR /&gt;Labels24,&lt;BR /&gt;Labels25,&lt;BR /&gt;Labels26,&lt;BR /&gt;Labels27,&lt;BR /&gt;Labels28,&lt;BR /&gt;Labels29,&lt;BR /&gt;Labels30,&lt;BR /&gt;Labels31,&lt;BR /&gt;Labels32,&lt;BR /&gt;Labels33,&lt;BR /&gt;Labels34,&lt;BR /&gt;Labels35,&lt;BR /&gt;Labels36,&lt;BR /&gt;Labels37,&lt;BR /&gt;Labels38,&lt;BR /&gt;Labels39,&lt;BR /&gt;Labels40,&lt;BR /&gt;Labels41,&lt;BR /&gt;Labels42,&lt;BR /&gt;Labels43,&lt;BR /&gt;Labels44,&lt;BR /&gt;Labels45,&lt;BR /&gt;Labels46,&lt;BR /&gt;Labels47,&lt;BR /&gt;Labels48,&lt;BR /&gt;Labels49,&lt;BR /&gt;Labels50,&lt;BR /&gt;Labels51,&lt;BR /&gt;Labels52,&lt;BR /&gt;Labels53,&lt;BR /&gt;Labels54,&lt;BR /&gt;Labels55,&lt;BR /&gt;Labels56,&lt;BR /&gt;Labels57,&lt;BR /&gt;Labels58,&lt;BR /&gt;Labels59,&lt;BR /&gt;Labels60,&lt;BR /&gt;Labels61,&lt;BR /&gt;Labels62,&lt;BR /&gt;Labels63,&lt;BR /&gt;Labels64,&lt;BR /&gt;Labels65&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\TapTap\Documents\Qlikview\iBStats.xlsx]&lt;BR /&gt;(ooxml, embedded labels);&lt;/P&gt;&lt;P&gt;tabRC:&lt;BR /&gt;CrossTable([Issue id],Labels,Labels1,Labels2,Labels3,Labels4)&lt;BR /&gt;LOAD * Resident AllData;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Syntax error is:&lt;/P&gt;&lt;P&gt;Unknown statement: tabRC:&lt;BR /&gt;CrossTable([Issue id],Labels,Labels1,Labels2,Labels3,Labels4)&lt;BR /&gt;LOAD * Resident AllData&lt;/P&gt;&lt;P&gt;tabRC:&lt;BR /&gt;CrossTable([Issue id],Labels,Labels1,Labels2,Labels3,Labels4)&lt;BR /&gt;LOAD * Resident AllData&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 18:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709137#M725200</guid>
      <dc:creator>Kev_Thomas</dc:creator>
      <dc:date>2020-06-08T18:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709163#M725201</link>
      <description>&lt;P&gt;So it looks like you can only have (key, value) on the CrossTable statement....fair enough. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Think I can see what has to be done.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 19:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709163#M725201</guid>
      <dc:creator>Kev_Thomas</dc:creator>
      <dc:date>2020-06-08T19:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709168#M725202</link>
      <description>&lt;P&gt;Yes, Only header and value are allowed.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 19:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709168#M725202</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-08T19:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709169#M725203</link>
      <description>&lt;LI-CODE lang="markup"&gt;AllData:
LOAD RCCount,
RICount,
RRCount,
[Issue Type],
[Issue key],
[Issue id],
Summary,
Status,
Severity,
[Test Env],
TPR,
Proposition,
Proposition1,
Proposition2,
Proposition3,
Proposition4,
Proposition5,
[Feature Team],
Labels,
Labels1,
Labels2,
Labels3,
Labels4,
Labels5,
Labels6,
Labels7,
Labels8,
Labels9,
Labels10,
Labels11,
Labels12,
Labels13,
Labels14,
Labels15,
Labels16,
Labels17,
Labels18,
Labels19,
Labels20,
Labels21,
Labels22,
Labels23,
Labels24,
Labels25,
Labels26,
Labels27,
Labels28,
Labels29,
Labels30,
Labels31,
Labels32,
Labels33,
Labels34,
Labels35,
Labels36,
Labels37,
Labels38,
Labels39,
Labels40,
Labels41,
Labels42,
Labels43,
Labels44,
Labels45,
Labels46,
Labels47,
Labels48,
Labels49,
Labels50,
Labels51,
Labels52,
Labels53,
Labels54,
Labels55,
Labels56,
Labels57,
Labels58,
Labels59,
Labels60,
Labels61,
Labels62,
Labels63,
Labels64,
Labels65
FROM
[C:\Users\TapTap\Documents\Qlikview\iBStats.xlsx]
(ooxml, embedded labels);

tabRC:
CrossTable(Key, Value, 18)
LOAD RCCount,
RICount,
RRCount,
[Issue Type],
[Issue key],
[Issue id],
Summary,
Status,
Severity,
[Test Env],
TPR,
Proposition,
Proposition1,
Proposition2,
Proposition3,
Proposition4,
Proposition5,
[Feature Team],
Labels,
Labels1,
Labels2,
Labels3,
Labels4,
Labels5,
Labels6,
Labels7,
Labels8,
Labels9,
Labels10,
Labels11,
Labels12,
Labels13,
Labels14,
Labels15,
Labels16,
Labels17,
Labels18,
Labels19,
Labels20,
Labels21,
Labels22,
Labels23,
Labels24,
Labels25,
Labels26,
Labels27,
Labels28,
Labels29,
Labels30,
Labels31,
Labels32,
Labels33,
Labels34,
Labels35,
Labels36,
Labels37,
Labels38,
Labels39,
Labels40,
Labels41,
Labels42,
Labels43,
Labels44,
Labels45,
Labels46,
Labels47,
Labels48,
Labels49,
Labels50,
Labels51,
Labels52,
Labels53,
Labels54,
Labels55,
Labels56,
Labels57,
Labels58,
Labels59,
Labels60,
Labels61,
Labels62,
Labels63,
Labels64,
Labels65
Resident AllData;&lt;/LI-CODE&gt;&lt;P&gt;Can u try this?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 19:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709169#M725203</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-08T19:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709496#M725204</link>
      <description>&lt;P&gt;Thanks again&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/894"&gt;@Saravanan_Desingh&lt;/a&gt;&amp;nbsp; for your input.&lt;BR /&gt;&lt;BR /&gt;I'm still struggling with the basics of getting a simple plot of TPR vs Count. Data seems to be loading in ok, more than likely just my lack of knowledge letting me down.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 18:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1709496#M725204</guid>
      <dc:creator>Kev_Thomas</dc:creator>
      <dc:date>2020-06-09T18:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1718331#M725205</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/894"&gt;@Saravanan_Desingh&lt;/a&gt;&amp;nbsp; - following your guidance, I'm definitely getting there.&lt;BR /&gt;&lt;BR /&gt;I'm using this as my load script at present (I know I'm missing the table drops). This allows me to create the table with fields which match the RC* that I'm looking for.&amp;nbsp;&lt;/P&gt;&lt;P&gt;AllData:&lt;BR /&gt;LOAD&lt;BR /&gt;[Issue Type],&lt;BR /&gt;[Issue key],&lt;BR /&gt;[Issue id],&lt;BR /&gt;Summary,&lt;BR /&gt;Status,&lt;BR /&gt;Severity,&lt;BR /&gt;[Test Env],&lt;BR /&gt;TPR,&lt;BR /&gt;Proposition,&lt;BR /&gt;Proposition1,&lt;BR /&gt;Proposition2,&lt;BR /&gt;Proposition3,&lt;BR /&gt;Proposition4,&lt;BR /&gt;Proposition5,&lt;BR /&gt;[Feature Team],&lt;BR /&gt;Labels,&lt;BR /&gt;Labels1,&lt;BR /&gt;Labels2,&lt;BR /&gt;Labels3,&lt;BR /&gt;Labels4,&lt;BR /&gt;Labels5,&lt;BR /&gt;Labels6,&lt;BR /&gt;Labels7,&lt;BR /&gt;Labels8,&lt;BR /&gt;Labels9,&lt;BR /&gt;Labels10,&lt;BR /&gt;Labels11,&lt;BR /&gt;Labels12,&lt;BR /&gt;Labels13,&lt;BR /&gt;Labels14,&lt;BR /&gt;Labels15,&lt;BR /&gt;Labels16,&lt;BR /&gt;Labels17,&lt;BR /&gt;Labels18,&lt;BR /&gt;Labels19,&lt;BR /&gt;Labels20,&lt;BR /&gt;Labels21,&lt;BR /&gt;Labels22,&lt;BR /&gt;Labels23,&lt;BR /&gt;Labels24,&lt;BR /&gt;Labels25,&lt;BR /&gt;Labels26,&lt;BR /&gt;Labels27,&lt;BR /&gt;Labels28,&lt;BR /&gt;Labels29,&lt;BR /&gt;Labels30,&lt;BR /&gt;Labels31,&lt;BR /&gt;Labels32,&lt;BR /&gt;Labels33,&lt;BR /&gt;Labels34,&lt;BR /&gt;Labels35,&lt;BR /&gt;Labels36,&lt;BR /&gt;Labels37,&lt;BR /&gt;Labels38,&lt;BR /&gt;Labels39,&lt;BR /&gt;Labels40,&lt;BR /&gt;Labels41,&lt;BR /&gt;Labels42,&lt;BR /&gt;Labels43,&lt;BR /&gt;Labels44,&lt;BR /&gt;Labels45,&lt;BR /&gt;Labels46,&lt;BR /&gt;Labels47,&lt;BR /&gt;Labels48,&lt;BR /&gt;Labels49,&lt;BR /&gt;Labels50,&lt;BR /&gt;Labels51,&lt;BR /&gt;Labels52,&lt;BR /&gt;Labels53,&lt;BR /&gt;Labels54,&lt;BR /&gt;Labels55,&lt;BR /&gt;Labels56,&lt;BR /&gt;Labels57,&lt;BR /&gt;Labels58,&lt;BR /&gt;Labels59,&lt;BR /&gt;Labels60,&lt;BR /&gt;Labels61,&lt;BR /&gt;Labels62,&lt;BR /&gt;Labels63,&lt;BR /&gt;Labels64,&lt;BR /&gt;Labels65&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\TapTap\Documents\Qlikview\iBStats.xlsx]&lt;BR /&gt;(ooxml, embedded labels);&lt;/P&gt;&lt;P&gt;cntRC:&lt;BR /&gt;Load TPR, Count(DISTINCT([Issue id]))&lt;BR /&gt;Resident AllData&lt;BR /&gt;where Labels like 'RC*'&lt;BR /&gt;or Labels1 like 'RC*'&lt;BR /&gt;or Labels2 like 'RC*'&lt;BR /&gt;or Labels3 like 'RC*'&lt;BR /&gt;or Labels4 like 'RC*'&lt;BR /&gt;or Labels5 like 'RC*'&lt;BR /&gt;or Labels6 like 'RC*'&lt;BR /&gt;or Labels7 like 'RC*'&lt;BR /&gt;or Labels8 like 'RC*'&lt;BR /&gt;or Labels9 like 'RC*'&lt;BR /&gt;or Labels10 like 'RC*'&lt;BR /&gt;or Labels11 like 'RC*'&lt;BR /&gt;or Labels12 like 'RC*'&lt;BR /&gt;or Labels13 like 'RC*'&lt;BR /&gt;or Labels14 like 'RC*'&lt;BR /&gt;or Labels15 like 'RC*'&lt;BR /&gt;or Labels16 like 'RC*'&lt;BR /&gt;or Labels17 like 'RC*'&lt;BR /&gt;or Labels18 like 'RC*'&lt;BR /&gt;or Labels19 like 'RC*'&lt;BR /&gt;or Labels20 like 'RC*'&lt;BR /&gt;or Labels21 like 'RC*'&lt;BR /&gt;or Labels22 like 'RC*'&lt;BR /&gt;or Labels23 like 'RC*'&lt;BR /&gt;or Labels24 like 'RC*'&lt;BR /&gt;or Labels25 like 'RC*'&lt;BR /&gt;or Labels26 like 'RC*'&lt;BR /&gt;or Labels27 like 'RC*'&lt;BR /&gt;or Labels28 like 'RC*'&lt;BR /&gt;or Labels29 like 'RC*'&lt;BR /&gt;or Labels30 like 'RC*'&lt;BR /&gt;or Labels31 like 'RC*'&lt;BR /&gt;or Labels32 like 'RC*'&lt;BR /&gt;or Labels33 like 'RC*'&lt;BR /&gt;or Labels34 like 'RC*'&lt;BR /&gt;or Labels35 like 'RC*'&lt;BR /&gt;or Labels36 like 'RC*'&lt;BR /&gt;or Labels37 like 'RC*'&lt;BR /&gt;or Labels38 like 'RC*'&lt;BR /&gt;or Labels39 like 'RC*'&lt;BR /&gt;or Labels40 like 'RC*'&lt;BR /&gt;or Labels41 like 'RC*'&lt;BR /&gt;or Labels42 like 'RC*'&lt;BR /&gt;or Labels43 like 'RC*'&lt;BR /&gt;or Labels44 like 'RC*'&lt;BR /&gt;or Labels45 like 'RC*'&lt;BR /&gt;or Labels46 like 'RC*'&lt;BR /&gt;or Labels47 like 'RC*'&lt;BR /&gt;or Labels48 like 'RC*'&lt;BR /&gt;or Labels49 like 'RC*'&lt;BR /&gt;or Labels50 like 'RC*'&lt;BR /&gt;or Labels51 like 'RC*'&lt;BR /&gt;or Labels52 like 'RC*'&lt;BR /&gt;or Labels53 like 'RC*'&lt;BR /&gt;or Labels54 like 'RC*'&lt;BR /&gt;or Labels55 like 'RC*'&lt;BR /&gt;or Labels56 like 'RC*'&lt;BR /&gt;or Labels57 like 'RC*'&lt;BR /&gt;or Labels58 like 'RC*'&lt;BR /&gt;or Labels59 like 'RC*'&lt;BR /&gt;or Labels60 like 'RC*'&lt;BR /&gt;or Labels61 like 'RC*'&lt;BR /&gt;or Labels62 like 'RC*'&lt;BR /&gt;or Labels63 like 'RC*'&lt;BR /&gt;or Labels64 like 'RC*'&lt;BR /&gt;or Labels65 like 'RC*'&lt;BR /&gt;Group By TPR;&lt;/P&gt;&lt;P&gt;Based on having two Target Production Releases (iB18c and iB19) in my data set, I'm pulling back two counts which are very close to what I expect.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kev_Thomas_0-1591972880738.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35457i79B5FBA74E0C88B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kev_Thomas_0-1591972880738.png" alt="Kev_Thomas_0-1591972880738.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, I know that the value of 200 should actually be a value of 195 and I know where the +5 records are being picked up from, but I need to try and filter those out from my final count.&lt;/P&gt;&lt;P&gt;In order to filter the data more accurately, I need to be able to do the following:&lt;/P&gt;&lt;P&gt;if(left(labels,6)=concat('RC',left(TPR4), &amp;lt;count this record&amp;gt;&lt;/P&gt;&lt;P&gt;I'm just not sure whether this should be added as an&amp;nbsp; expression to my chart (which I'm now plotting the TPR and Count against).&lt;BR /&gt;&lt;BR /&gt;For reference.&amp;nbsp;&lt;BR /&gt;TPR = 'iB19 - 2020'&lt;BR /&gt;Labels = 'RCiB19.1'&lt;BR /&gt;&lt;BR /&gt;So I'm looking to plot only the values where TPR = 'RC' + the first 4 characters or TPR i.e. iB19 = RCiB19.&lt;BR /&gt;&lt;BR /&gt;Again, any thoughts or suggestions would be greatly appreciated. I'm close, but frustratingly still far away from what I'm hoping to achieve.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 14:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1718331#M725205</guid>
      <dc:creator>Kev_Thomas</dc:creator>
      <dc:date>2020-06-12T14:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1718550#M725207</link>
      <description>&lt;P&gt;So, the saga continues.&lt;/P&gt;&lt;P&gt;I've carried out a crosstable to give me every TPR (iB18c - 2020, iB19 - 2020) and all Labels1-65 have been consolidated in the Column called Value.&lt;BR /&gt;&lt;BR /&gt;When trying to plot a chart - I'm using the expression detailed below:&lt;/P&gt;&lt;P&gt;Value would = something like 'RCiB19.6.1'&lt;BR /&gt;TPR would = 'iB18c - 2020' or 'iB19 - 2020'&lt;/P&gt;&lt;P&gt;Therefore, I'm looking to plot a count where:&lt;BR /&gt;&lt;BR /&gt;Value = LEFT(Value,6) = 'RCiB19'&lt;BR /&gt;Concat= 'RC' &amp;amp; LEFT(TPR,4) = 'RC' &amp;amp; 'iB19' = 'RCiB19'&lt;BR /&gt;&lt;BR /&gt;=if(LEFT(Value,6)=Concat('RC',Left(TPR,4)),Count([Issue id]),0)&lt;BR /&gt;&lt;BR /&gt;However, this doesn't appear to work. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Again, sorry for the constant questions around this, and thank you so much to those of you that have kindly made suggestions.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jun 2020 21:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1718550#M725207</guid>
      <dc:creator>Kev_Thomas</dc:creator>
      <dc:date>2020-06-13T21:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count where specific text is found in multiple fields</title>
      <link>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1718575#M725208</link>
      <description>&lt;P&gt;Concat() is in Qlik a string-aggregation over columns like sum() or max() and not a concatenation on the row-level (Qlik has no own function for it - the wanted parts are just added per "&lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt;" like: Field1 &amp;amp; '|' &amp;amp; Field2). Therefore your approach couldn't work.&lt;/P&gt;&lt;P&gt;I'm not quite sure what do you want to do - some kind of grouping the data ? - but I suggest to prepare / pre-calculate most things within the script-level and if possible without the us of if-loops. This means to use subfield() to split the string and/or keepchar/purgechar() to extract/remove chars, for example numbers. Another approach would be not to do this grouping with various measures directly within the loads else to apply a mapping or even to use a linked dimension-table.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jun 2020 06:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-where-specific-text-is-found-in-multiple-fields/m-p/1718575#M725208</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-06-14T06:45:54Z</dc:date>
    </item>
  </channel>
</rss>

