<?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: Rename name in Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763285#M1040622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to add a condition like if ID take place number 1 in the rank position, do this???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Dec 2014 20:57:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-12-19T20:57:04Z</dc:date>
    <item>
      <title>Rename name in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763280#M1040617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'd like to dynamically rename of tags in a dimension.&lt;/P&gt;&lt;P&gt;When I click on any ID from list box ID, in the chart "Output" selected ID should called "0", previous 2 ID - "-1", "-2" and next 2 ID "+1","+2"&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73845_Capture.PNG" style="height: 283px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Please find attached file.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 20:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763280#M1040617</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-18T20:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Rename name in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763281#M1040618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vladimir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this calculated dimension works for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(Rank(only({&amp;lt;ID=,FI_ID={"&amp;gt;=$(=max(FI_ID)-2)&amp;lt;=$(=max(FI_ID)+2)"}&amp;gt;}Text)), ID)-3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="20141218.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73846_20141218.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 20:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763281#M1040618</guid>
      <dc:creator>julian_rodriguez</dc:creator>
      <dc:date>2014-12-18T20:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rename name in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763282#M1040619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for helping.&lt;/P&gt;&lt;P&gt;Order should be appositive.&lt;/P&gt;&lt;P&gt;Actually I need to add wording like step-1, step-2 and so on.&lt;/P&gt;&lt;P&gt;If it's not doable, I can use only numbers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 20:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763282#M1040619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-18T20:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rename name in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763283#M1040620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I fixed the appositive order&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Aggr(Rank(-only({&amp;lt;ID=,FI_ID={"&amp;gt;=$(=max(FI_ID)-2)&amp;lt;=$(=max(FI_ID)+2)"}&amp;gt;}ID)), ID)-3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I have problem when I select the first number, it should be RANK -1&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Aggr(Rank(only({&amp;lt;ID=,FI_ID={"&amp;gt;=$(=max(FI_ID)-2)&amp;lt;=$(=max(FI_ID)+2)"}&amp;gt;}Text)), ID)-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if I select the second number, it should be RANK -2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Aggr(Rank(only({&amp;lt;ID=,FI_ID={"&amp;gt;=$(=max(FI_ID)-2)&amp;lt;=$(=max(FI_ID)+2)"}&amp;gt;}Text)), ID)-2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;How to easy combine 3 conditions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Please attached my file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 17:03:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763283#M1040620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-19T17:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rename name in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763284#M1040621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found out how to do with condition&lt;/P&gt;&lt;P&gt;IF(COUNT(TOTAL(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;ID=,FI_ID={"&amp;gt;=$(=max(FI_ID)-2)&amp;lt;=$(=max(FI_ID)+2)"}&amp;gt;}ID)=1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Aggr(Rank(only({&amp;lt;ID=,FI_ID={"&amp;gt;=$(=max(FI_ID)-2)&amp;lt;=$(=max(FI_ID)+2)"}&amp;gt;}Text)), ID)-1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;IF(COUNT(TOTAL(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;ID=,FI_ID={"&amp;gt;=$(=max(FI_ID)-2)&amp;lt;=$(=max(FI_ID)+2)"}&amp;gt;}ID)=2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Aggr(Rank(only({&amp;lt;ID=,FI_ID={"&amp;gt;=$(=max(FI_ID)-2)&amp;lt;=$(=max(FI_ID)+2)"}&amp;gt;}Text)), ID)-2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;IF(COUNT(TOTAL(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;ID=,FI_ID={"&amp;gt;=$(=max(FI_ID)-2)&amp;lt;=$(=max(FI_ID)+2)"}&amp;gt;}ID)&amp;gt;=3,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Aggr(Rank(only({&amp;lt;ID=,FI_ID={"&amp;gt;=$(=max(FI_ID)-2)&amp;lt;=$(=max(FI_ID)+2)"}&amp;gt;}Text)), ID)-3)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It works.&lt;/P&gt;&lt;P&gt;But it doesn't work in some my cases.&lt;/P&gt;&lt;P&gt;Because key ID sometimes doesn't match with position&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73931_Capture.PNG" style="height: 98px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Maybe something like this&lt;/P&gt;&lt;P&gt;only({&amp;lt;ID=,FI_ID={"&amp;gt;=$(=max(FI_ID)-2)&amp;lt;=$(=max(FI_ID)+2)"}&amp;gt;}&lt;/P&gt;&lt;P&gt;IF(ID=ID,'Step',&lt;/P&gt;&lt;P&gt;IF(ID-1=ID-1,'Step-1',&lt;/P&gt;&lt;P&gt;IF(ID+1=ID+1,'Step+1')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 18:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763284#M1040621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-19T18:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rename name in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763285#M1040622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to add a condition like if ID take place number 1 in the rank position, do this???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 20:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763285#M1040622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-19T20:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rename name in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763286#M1040623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What condition possible to add to get it?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73932_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 21:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763286#M1040623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-19T21:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rename name in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763287#M1040624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe firstvalue() or firstindex() or firstsortedvalue()&lt;/P&gt;&lt;P&gt;????????????????????????????????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 21:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763287#M1040624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-19T21:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Rename name in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763288#M1040625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas, guys?&lt;/P&gt;&lt;P&gt;Maybe use pick() , when ID takes 1 or 2 places, use the same rank expression just -1 or -2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 17:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763288#M1040625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-22T17:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rename name in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763289#M1040626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I resolved the issue.&lt;/P&gt;&lt;P&gt;I created a varaible vDRank=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Aggr(Rank(-only({&amp;lt;ID=,FI_ID={"&amp;gt;=$(=max(FI_ID)-2)&amp;lt;=$(=max(FI_ID)+2)"}&amp;gt;}ID)), ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In dimension:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Aggr(Rank(-only({&amp;lt;ID=,FI_ID={"&amp;gt;=$(=max(FI_ID)-2)&amp;lt;=$(=max(FI_ID)+2)"}&amp;gt;}ID)), ID)-vDRank&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 20:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-name-in-Dimension/m-p/763289#M1040626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-22T20:06:28Z</dc:date>
    </item>
  </channel>
</rss>

