<?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: Modify Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Modify-Dimension/m-p/802041#M1032430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't modify a field on the fly. That needs to be done on the script, which is the recommended way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just create it on the script like: "Year(Dates) as Year" and then you can use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;COUNT(${&amp;lt;Year={'2013'} Field).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If by any reason you can only do it on the front end, then you can create a variable, let's say vYear, define it to be "=Year(Dates)" and then you can use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;COUNT(${&amp;lt;$(vYear)={'2013'} Field).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, without creating anything, you can still use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;COUNT(${&amp;lt;$(=Year(Dates))={'2013'} Field), on the fly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But like I said, it's better to have all necessary fields created in the script.&lt;/P&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;Kind regards,&lt;/P&gt;&lt;P&gt;Nuno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 31 Jan 2015 23:40:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-31T23:40:54Z</dc:date>
    <item>
      <title>Modify Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Modify-Dimension/m-p/802039#M1032428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is maybe obvious but is is possible instead of creating Calculated Dimension change an existing one "on fly"&lt;/P&gt;&lt;P&gt;To Example:&lt;/P&gt;&lt;P&gt;If I had Dimension "Dates"&lt;/P&gt;&lt;P&gt;1/1/2012&lt;/P&gt;&lt;P&gt;2/2/2013&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create :&lt;/P&gt;&lt;P&gt;Year(Dates)&lt;/P&gt;&lt;P&gt;So my Expression will read:&lt;/P&gt;&lt;P&gt;IF(Year(Dates)='2013'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or COUNT(${&amp;lt;Year(Dates)={'2013'}....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jan 2015 23:13:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modify-Dimension/m-p/802039#M1032428</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-01-31T23:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Modify-Dimension/m-p/802040#M1032429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the calculated dimension.&lt;/P&gt;&lt;P&gt;Well i do not think you can create any value in UI.&lt;/P&gt;&lt;P&gt;You can achieve this in script.&lt;/P&gt;&lt;P&gt;you can have master calender concept.&lt;/P&gt;&lt;P&gt;Follow this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/48693"&gt;Creating A Master Calendar&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jan 2015 23:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modify-Dimension/m-p/802040#M1032429</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2015-01-31T23:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Modify-Dimension/m-p/802041#M1032430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't modify a field on the fly. That needs to be done on the script, which is the recommended way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just create it on the script like: "Year(Dates) as Year" and then you can use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;COUNT(${&amp;lt;Year={'2013'} Field).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If by any reason you can only do it on the front end, then you can create a variable, let's say vYear, define it to be "=Year(Dates)" and then you can use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;COUNT(${&amp;lt;$(vYear)={'2013'} Field).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, without creating anything, you can still use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;COUNT(${&amp;lt;$(=Year(Dates))={'2013'} Field), on the fly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But like I said, it's better to have all necessary fields created in the script.&lt;/P&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;Kind regards,&lt;/P&gt;&lt;P&gt;Nuno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jan 2015 23:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modify-Dimension/m-p/802041#M1032430</guid>
      <dc:creator />
      <dc:date>2015-01-31T23:40:54Z</dc:date>
    </item>
  </channel>
</rss>

