<?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 Dimension x-axis values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240500#M873923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I love it, I'm not sure why anyone would use "weekYear" without doing something like this, how is an end-user supposed to know what dates Week 42 of Year 2016 contained..... Having date ranges simplifies this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2016 16:59:46 GMT</pubDate>
    <dc:creator>lucasdavis500</dc:creator>
    <dc:date>2016-11-14T16:59:46Z</dc:date>
    <item>
      <title>Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240488#M873911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to label what values are shown on the x-axis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="last_week.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143724_last_week.png" style="width: 620px; height: 203px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like 45-2016 to be renamed 'Current Week', 44-2016, 'Last Week', 43-2016, 'Two Weeks Ago', and so on and so forth..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240488#M873911</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240489#M873912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you looking for something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="143721" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143721_Capture.PNG" style="height: 276px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, then you can use this as your calculated dimension&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="143722" alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/143722_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variables defined are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="143726" alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/143726_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 20:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240489#M873912</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2016-11-11T20:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240490#M873913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If current week is based on today and not on selections, you could load these labels in script as a [Week Label] field, say. Use that as your dimension instead of your Week field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 20:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240490#M873913</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-11-11T20:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240491#M873914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're using Week year as your dimension, then MAX(RIGHT([WEEK_YEAR], 2)) is going to return '16' for 2016.... not the two digits for the actual week number. I think it may need to be LEFT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 21:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240491#M873914</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2016-11-11T21:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240492#M873915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My WEEK(DATE) returns all of my weeks to date, but has '53' included. This is causing an error with this formula. Any idea why '53' shows up in my data, even though my data begins 1/1/2016&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 21:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240492#M873915</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2016-11-11T21:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240493#M873916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John, I've tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Model2.WeekYear_Res&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WEEK&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WEEKSTART&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1))) &amp;amp; '-' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WEEKYEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1)), 'Current Week', ) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeekRes_Flag &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Which doesn't seem to be working properly. Is this what you were suggesting to do in the script? This is assigning 'Current Week' to every week.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;using today(1) because apparently today(0) in script is the time of two script executions, not the latest script execution, according to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;A href="http://qlikviewcookbook.com/2010/07/the-now-trap/" title="http://qlikviewcookbook.com/2010/07/the-now-trap/"&gt;http://qlikviewcookbook.com/2010/07/the-now-trap/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 21:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240493#M873916</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2016-11-11T21:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240494#M873917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved in script using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Model2.Week_Res&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WEEK&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TODAY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(0)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Model2.Year_Res&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TODAY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(0)), 'Current Week', 0) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeekRes_Flag &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 22:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240494#M873917</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2016-11-11T22:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240495#M873918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correction: not resolved because qlikview doesn't like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Model2.Week_Res&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WEEK&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TODAY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(0))-1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Model2.Year_Res&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TODAY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(0)), 'Current Week', 0) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeekRes_Flag &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;OR&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Model2.Week_Res&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&amp;nbsp; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WEEK&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TODAY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(0))-1) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Model2.Year_Res&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TODAY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(0)), 'Current Week', 0) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeekRes_Flag &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Does anyone know how to resolve Week # in the script?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EDIT: This doesn't work using TODAY(1), either.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 22:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240495#M873918</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2016-11-11T22:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240496#M873919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think I'd use flags. After some further thinking, I think I'd completely redefine my WeekYear field to be something like this. These should display as desired, but numerically are the first day of each week, so will also sort correctly if sorted numerically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;dual&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;((&lt;SPAN style="color: #0000ff;"&gt;weekstart&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;today&lt;/SPAN&gt;())-&lt;SPAN style="color: #0000ff;"&gt;weekstart&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;))/7&amp;lt;=5&lt;BR /&gt;,&lt;SPAN style="color: #0000ff;"&gt;pick&lt;/SPAN&gt;(1+ (&lt;SPAN style="color: #0000ff;"&gt;weekstart&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;today&lt;/SPAN&gt;())-&lt;SPAN style="color: #0000ff;"&gt;weekstart&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;))/7&lt;BR /&gt;,'Current Week'&lt;BR /&gt;,'Last Week'&lt;BR /&gt;,'Two Weeks Ago'&lt;BR /&gt;,'Three Weeks Ago'&lt;BR /&gt;,'Four Weeks Ago'&lt;BR /&gt;,'Five Weeks Ago') &lt;SPAN style="color: #008000;"&gt;// add as many as you want&lt;BR /&gt;&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;week&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;)&amp;amp;'-'&amp;amp;&lt;SPAN style="color: #0000ff;"&gt;weekyear&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;)) &lt;SPAN style="color: #008000;"&gt;// default if not named&lt;BR /&gt;&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;weekstart&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Date&lt;/SPAN&gt;)) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;WeekYear &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #800000; font-size: 10pt; font-family: courier new,courier;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143742_Capture.PNG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 22:43:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240496#M873919</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-11-11T22:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240497#M873920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another solution might be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_239585_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/143740_QlikCommunity_Thread_239585_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_239585_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143739_QlikCommunity_Thread_239585_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14789060915714107 jive_text_macro" jivemacro_uid="_14789060915714107"&gt;
&lt;P&gt;tabTempWeekNames:&lt;/P&gt;
&lt;P&gt;LOAD Dual(WeekAge, WeekStart(Today(),1-RecNo())) as WeekAge&lt;/P&gt;
&lt;P&gt;Inline [&lt;/P&gt;
&lt;P&gt;WeekAge&lt;/P&gt;
&lt;P&gt;Current Week&lt;/P&gt;
&lt;P&gt;Last Week&lt;/P&gt;
&lt;P&gt;Two Weeks Ago&lt;/P&gt;
&lt;P&gt;Three Weeks Ago&lt;/P&gt;
&lt;P&gt;Four Weeks Ago&lt;/P&gt;
&lt;P&gt;Five Weeks Ago&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabShortCalendar:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekDay(Date) as WeekDay,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekStart(Date) as WeekStart,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekStart(Date) as WeekAge;&lt;/P&gt;
&lt;P&gt;LOAD Date(Today()-RecNo()+1) as Date&lt;/P&gt;
&lt;P&gt;AutoGenerate 35;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table tabTempWeekNames;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 23:15:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240497#M873920</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-11-11T23:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240498#M873921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is awesome, the more I think about it though, it may just be easier for the end-user to also have a list box, and then make their selection for the week in the year that they wish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Week_Year Listbox:&lt;/P&gt;&lt;P&gt;Jan 1 - Jan 7 2016,&lt;/P&gt;&lt;P&gt;Jan 8 - Jan 15 2016,&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;Dec 25 - Dec 31 2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible in the script without hardcoding each week in?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 02:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240498#M873921</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2016-11-14T02:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240499#M873922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd probably simplify a little and just do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;date(weekstart(Date),'MMM D YYYY') as Week_Start&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for exactly what you show, I suppose:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;dual(date(weekstart(Date),'MMM D') &amp;amp; ' - ' &amp;amp; date(weekend(Date),'MMM D YYYY'),weekstart(Date)) as Week_Year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be a little funny, with weeks like Dec 27 - Jan 2 2016, but I suppose that's still clear enough without putting 2015 in there as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 16:51:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240499#M873922</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-11-14T16:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240500#M873923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I love it, I'm not sure why anyone would use "weekYear" without doing something like this, how is an end-user supposed to know what dates Week 42 of Year 2016 contained..... Having date ranges simplifies this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 16:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240500#M873923</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2016-11-14T16:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240501#M873924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd say week numbers are for companies that run on week numbers, and care much less what the dates are. If what's important to you is that it's week 42, then it's reasonable to display it that way. But if what's important are the dates, then a range seems best, but also takes a lot of space. A starting or ending date can be a space-based compromise, particularly if people are used to seeing a single date stand for an entire week, as they are at our company.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 17:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240501#M873924</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-11-14T17:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Dimension x-axis values</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240502#M873925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very good point. I'll have to address this issue with my end-users and understand what they would like to see. Having the week is nice, but you are right that it takes up a lot of space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 18:39:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-Dimension-x-axis-values/m-p/1240502#M873925</guid>
      <dc:creator>lucasdavis500</dc:creator>
      <dc:date>2016-11-14T18:39:20Z</dc:date>
    </item>
  </channel>
</rss>

