<?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: How MaxString works in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24658#M4087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you can still use the similar idea... but use a CampaignYear_Fact as a dimension instead of creating 10 expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;If(Len(Trim(MaxString({&amp;lt;CampaignYear_Fact = {"&amp;gt;=2007&amp;lt;=2017"}&amp;gt;} ValueReviewed))) &amp;lt;&amp;gt; 0,&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MaxString&lt;/SPAN&gt;({&amp;lt;CampaignYear_Fact = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{"&amp;gt;=2007&amp;lt;=2017"}&lt;/SPAN&gt;&amp;gt;} ValueReviewed), 1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2018 09:04:03 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-03-14T09:04:03Z</dc:date>
    <item>
      <title>How MaxString works</title>
      <link>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24655#M4084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I have a question, I have this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((Len (trim (maxSTRING({&amp;lt;CampaignYear_Fact = {'2017'}&amp;gt;} ValueReviewed))) &amp;lt;&amp;gt; 0) ,&amp;nbsp; maxSTRING({&amp;lt;CampaignYear_Fact = {'2017'}&amp;gt;} ValueReviewed) , 1)&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; as column FACT 2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if((Len (trim (maxSTRING({&amp;lt;CampaignYear_Fact = {'2016'}&amp;gt;} ValueReviewed))) &amp;lt;&amp;gt; 0) ,&amp;nbsp; maxSTRING({&amp;lt;CampaignYear_Fact = {'2016'}&amp;gt;} ValueReviewed) , 1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;--&amp;gt; as column FACT 2016&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and so on for 10 years..&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now since the app is really slow and is not possible to load all the data (cause time of calculation), I am wondering how this Maxstring works.&amp;nbsp; In my expression, the syntax is going to have a cross product with all rows that contain &lt;SPAN style="font-size: 13.3333px;"&gt;CampaignYear_Fact = 2017,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;or qlik recognized that this kind of calculation should be done per rows where for instance the name of the company&amp;nbsp; and the industry is the same?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Someone have idea how I can reduce the time?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I am using a normal table whit this structure:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Industry&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; companyName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fact 2017&amp;nbsp; Fact2016&amp;nbsp; Fact2015 ..... Fact2007&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks for any help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;PS I am using qlik sense&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 08:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24655#M4084</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2018-03-14T08:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: How MaxString works</title>
      <link>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24656#M4085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you create a pivot table where you can add CampaignYear_Fact as a pivoted dimension... Is ValueReviewed a numeric or text field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 08:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24656#M4085</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-14T08:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: How MaxString works</title>
      <link>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24657#M4086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cuold be a text or number &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 09:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24657#M4086</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2018-03-14T09:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: How MaxString works</title>
      <link>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24658#M4087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you can still use the similar idea... but use a CampaignYear_Fact as a dimension instead of creating 10 expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;If(Len(Trim(MaxString({&amp;lt;CampaignYear_Fact = {"&amp;gt;=2007&amp;lt;=2017"}&amp;gt;} ValueReviewed))) &amp;lt;&amp;gt; 0,&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MaxString&lt;/SPAN&gt;({&amp;lt;CampaignYear_Fact = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{"&amp;gt;=2007&amp;lt;=2017"}&lt;/SPAN&gt;&amp;gt;} ValueReviewed), 1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 09:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24658#M4087</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-14T09:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: How MaxString works</title>
      <link>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24659#M4088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny Thanks for your answer, your solution giving to me just 1 column.. why? btw is good approach I guess&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 10:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24659#M4088</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2018-03-14T10:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: How MaxString works</title>
      <link>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24660#M4089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you add &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CampaignYear_Fact &lt;/STRONG&gt;as dimension in a pivot table and then pivoted this dimension to go across instead of going down?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 10:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24660#M4089</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-14T10:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: How MaxString works</title>
      <link>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24661#M4090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, but without use a Pivot table... I cannot use the same syntax in a simple table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 11:07:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24661#M4090</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2018-03-14T11:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: How MaxString works</title>
      <link>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24662#M4091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can... but then you will see &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CampaignYear_Fact &lt;/STRONG&gt;going down and not across.... I suggest pivot table to get you this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;Industry&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; companyName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fact 2017&amp;nbsp; Fact2016&amp;nbsp; Fact2015 ..... Fact2007&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Without pivot table... you will get this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Industry companyName Year&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fact2017&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fact2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fact2015&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fact2007&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 11:09:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-MaxString-works/m-p/24662#M4091</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-14T11:09:49Z</dc:date>
    </item>
  </channel>
</rss>

