<?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 Update existing Dimension with variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Update-existing-Dimension-with-variable/m-p/1765500#M591032</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;We have a reaasonably complex document which utilises a calendar dimension which includes as you may expect a Week field.&amp;nbsp; This is a numberic value at present.&lt;/P&gt;&lt;P&gt;For 2021 we need to report an offset in the weeks year on year, so week 2 2021 for example will show against week 3 2020.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can build it in a simple model by having two new fields in the source load which detail the offset as required using the likes of&amp;nbsp;=if(GetFieldSelections(year)=2021,weekoffset,weekstd) as a calculated dimension.&lt;/P&gt;&lt;P&gt;The question is, yes i got there in the end ...&lt;/P&gt;&lt;P&gt;As the document is complex and Week is used in numerous charts is there a way to amend the value currently being loaded as Week from say 1 to something that the existing charts would interpret as the above calculation thus not having to go in and amend all the charts?&lt;/P&gt;&lt;P&gt;some based same files attached to hopefully explain it better&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mo&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:32:12 GMT</pubDate>
    <dc:creator>musmo_2049</dc:creator>
    <dc:date>2024-11-15T23:32:12Z</dc:date>
    <item>
      <title>Update existing Dimension with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Update-existing-Dimension-with-variable/m-p/1765500#M591032</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;We have a reaasonably complex document which utilises a calendar dimension which includes as you may expect a Week field.&amp;nbsp; This is a numberic value at present.&lt;/P&gt;&lt;P&gt;For 2021 we need to report an offset in the weeks year on year, so week 2 2021 for example will show against week 3 2020.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can build it in a simple model by having two new fields in the source load which detail the offset as required using the likes of&amp;nbsp;=if(GetFieldSelections(year)=2021,weekoffset,weekstd) as a calculated dimension.&lt;/P&gt;&lt;P&gt;The question is, yes i got there in the end ...&lt;/P&gt;&lt;P&gt;As the document is complex and Week is used in numerous charts is there a way to amend the value currently being loaded as Week from say 1 to something that the existing charts would interpret as the above calculation thus not having to go in and amend all the charts?&lt;/P&gt;&lt;P&gt;some based same files attached to hopefully explain it better&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mo&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-existing-Dimension-with-variable/m-p/1765500#M591032</guid>
      <dc:creator>musmo_2049</dc:creator>
      <dc:date>2024-11-15T23:32:12Z</dc:date>
    </item>
  </channel>
</rss>

