<?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 to Shift dimension description one position to the left ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187278#M384026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't want to do this in script, you can use this as your dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(code, 'Good', 'Better', 'Best')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Sep 2016 11:07:30 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-09-18T11:07:30Z</dc:date>
    <item>
      <title>How to Shift dimension description one position to the left ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187276#M384024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi everybody,&lt;/P&gt;&lt;P&gt;we have a dimension - code and value ( &lt;STRONG style="font-size: 14pt;"&gt;1,2,3&lt;/STRONG&gt;,4 ) ( bad,&lt;STRONG style="font-size: 14pt;"&gt;good,better,best&lt;/STRONG&gt; ).&lt;/P&gt;&lt;P&gt;is it possible to see on chart the sum of &lt;SPAN style="font-size: 13.3333px;"&gt; ( 1,2,3 )&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;BUT&amp;nbsp; &lt;/SPAN&gt;with description &lt;SPAN style="font-size: 13.3333px;"&gt; ( good,better,best ).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;dont ask me why&amp;nbsp; ..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Sep 2016 09:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187276#M384024</guid>
      <dc:creator>yanivvl0</dc:creator>
      <dc:date>2016-09-18T09:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Shift dimension description one position to the left ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187277#M384025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use dual() for it like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;if(code = 1, dual('bad', 1),&lt;/P&gt;&lt;P&gt;if(code = 1, dual('good', 2),&lt;/P&gt;&lt;P&gt;if(code = 1, dual('better', 3),&lt;/P&gt;&lt;P&gt;if(code = 1, dual('best', 4))))) as CodeAndDescription,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Sep 2016 09:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187277#M384025</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-09-18T09:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to Shift dimension description one position to the left ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187278#M384026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't want to do this in script, you can use this as your dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(code, 'Good', 'Better', 'Best')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Sep 2016 11:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187278#M384026</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-18T11:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Shift dimension description one position to the left ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187279#M384027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcus -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you forgot to change the code for each of the if&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;if(code = 1, dual('bad', 1),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(code = &lt;STRONG style="color: #ff0000;"&gt;2&lt;/STRONG&gt;, dual('good', 2),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(code = &lt;STRONG style="color: #ff0000;"&gt;3&lt;/STRONG&gt;, dual('better', 3),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(code = &lt;STRONG style="color: #ff0000;"&gt;4&lt;/STRONG&gt;, dual('best', 4))))) as CodeAndDescription,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Sep 2016 11:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187279#M384027</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-18T11:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Shift dimension description one position to the left ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187280#M384028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course you are right. I was too sloppy with copy &amp;amp; paste ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Sep 2016 11:31:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187280#M384028</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-09-18T11:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to Shift dimension description one position to the left ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187281#M384029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yea ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Sep 2016 12:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187281#M384029</guid>
      <dc:creator>yanivvl0</dc:creator>
      <dc:date>2016-09-18T12:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Shift dimension description one position to the left ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187282#M384030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yaniv,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you want to sum codes, and then show the description?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sum could easily be larger than the max code, right? What would be the description then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or do you want to calculate the average and show the corresponding description (for the rounded average)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the context you are using the sum/ average? What is the dimension you are using in your chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what is the title of this post telling with regard to the rest of your post?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A lot of open questions to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to lookup a description based on your aggregated code, you could maybe use Only() function or FieldValue()/FieldIndex(), like discussed in&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-8360"&gt;Missing Manual - FieldIndex()&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Sep 2016 12:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187282#M384030</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-18T12:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Shift dimension description one position to the left ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187283#M384031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Stefan , thanks for help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 05:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Shift-dimension-description-one-position-to-the-left/m-p/1187283#M384031</guid>
      <dc:creator>yanivvl0</dc:creator>
      <dc:date>2016-09-19T05:56:03Z</dc:date>
    </item>
  </channel>
</rss>

