<?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: Text part behavior of a dual dimension in a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-part-behavior-of-a-dual-dimension-in-a-table/m-p/1176820#M381871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is a "feature" - whereby where do you create these dual() - within the script or within the gui? A workaround could be to query the lenght of the dimension value with something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len([Channel ABND])&amp;gt;15, left([Channel ABND]), 15), [Channel ABND]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or maybe simpler:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mid([Channel ABND]), 1, 15)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jul 2016 13:51:47 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-07-05T13:51:47Z</dc:date>
    <item>
      <title>Text part behavior of a dual dimension in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Text-part-behavior-of-a-dual-dimension-in-a-table/m-p/1176818#M381869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used a Dual function to indicate the strategic importance of e.g a channel. Works like a charm, however.....&lt;/P&gt;&lt;P&gt;When a label is too long I would like to see it 'shortened' like the standard way tex is handled in table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Text.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/130153_Text.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;However, when I use the 'Dual' dimension the label that's too long is not readible anymore...at all.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Dual.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/130163_Dual.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to tackle this challenge?&lt;/P&gt;&lt;P&gt;regards Joris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 13:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-part-behavior-of-a-dual-dimension-in-a-table/m-p/1176818#M381869</guid>
      <dc:creator>joris_lansdaal</dc:creator>
      <dc:date>2016-07-05T13:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Text part behavior of a dual dimension in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Text-part-behavior-of-a-dual-dimension-in-a-table/m-p/1176819#M381870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Dual function should not be used here as one output of Dual function is string and another is numeric value.&lt;/P&gt;&lt;P&gt;You need to use If condition. Check length of sting. If it crosses the limit then use the shortened form of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like &lt;STRONG&gt;If(Len(Your Dimension string)&amp;gt;Limit,Shortened Form of Dimension, Normal Form of Dimension)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nilanjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 13:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-part-behavior-of-a-dual-dimension-in-a-table/m-p/1176819#M381870</guid>
      <dc:creator>nilapril2010</dc:creator>
      <dc:date>2016-07-05T13:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Text part behavior of a dual dimension in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Text-part-behavior-of-a-dual-dimension-in-a-table/m-p/1176820#M381871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is a "feature" - whereby where do you create these dual() - within the script or within the gui? A workaround could be to query the lenght of the dimension value with something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len([Channel ABND])&amp;gt;15, left([Channel ABND]), 15), [Channel ABND]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or maybe simpler:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mid([Channel ABND]), 1, 15)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 13:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-part-behavior-of-a-dual-dimension-in-a-table/m-p/1176820#M381871</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-07-05T13:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Text part behavior of a dual dimension in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Text-part-behavior-of-a-dual-dimension-in-a-table/m-p/1176821#M381872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found out that: &lt;/P&gt;&lt;P&gt;"&lt;SPAN class="Bold"&gt;Note!&lt;/SPAN&gt; If a &lt;SPAN style="color: #ffffff; background-color: #3399ff;"&gt;dual&lt;/SPAN&gt; value is too large to fit in a field object, it will be represented by ## and not truncated with ... like a string."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to sort Text dimensions in a specific order?&lt;/P&gt;&lt;P&gt;I could use the load order but that will be tricky in maintaince.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 13:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-part-behavior-of-a-dual-dimension-in-a-table/m-p/1176821#M381872</guid>
      <dc:creator>joris_lansdaal</dc:creator>
      <dc:date>2016-07-05T13:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Text part behavior of a dual dimension in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Text-part-behavior-of-a-dual-dimension-in-a-table/m-p/1176822#M381873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 13:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-part-behavior-of-a-dual-dimension-in-a-table/m-p/1176822#M381873</guid>
      <dc:creator>joris_lansdaal</dc:creator>
      <dc:date>2016-07-05T13:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Text part behavior of a dual dimension in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Text-part-behavior-of-a-dual-dimension-in-a-table/m-p/1176823#M381874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The simplest way to sort a certain field is to load the fieldvalues in your wished order with a dummy-table. Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SortOrderFormyField:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;myField&lt;/P&gt;&lt;P&gt;x&lt;/P&gt;&lt;P&gt;a&lt;/P&gt;&lt;P&gt;e&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you could load your real data of myField which will be sorted like the already loaded order of values and after that you could drop the dummy-table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop tables SortOrderFormyField;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then you could choose the sort-option for load order. Especially if you have large amounts of data is this way more performant then dual-fields or any sort-expressions within the gui.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 14:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-part-behavior-of-a-dual-dimension-in-a-table/m-p/1176823#M381874</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-07-05T14:02:25Z</dc:date>
    </item>
  </channel>
</rss>

