<?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: Switching between 2 different time dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867729#M998469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why would it be inefficient?&lt;/P&gt;&lt;P&gt;and also - how do you use that strategy when needing to switch between these dimensions in expressions? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Jun 2015 14:49:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-06-21T14:49:01Z</dc:date>
    <item>
      <title>Switching between 2 different time dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867726#M998466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;In our company, each record in the database has several time dimensions, each one reflecting a different phase of the transaction.&lt;/P&gt;&lt;P&gt;Currently I have one listbox containing one of these dates.&lt;/P&gt;&lt;P&gt;I'd like to allow my users to easily toggle between these date dimensions, and see how the data changes between each perspective.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to allow toggling between dimensions while using the same charts, and ideally even use the same listbox which will display the chosen time dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this makes sense.&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Assaf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 13:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867726#M998466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-21T13:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 different time dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867727#M998467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a calculated dimension for your chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(vTog = 0, TimeDim1, TimeDim2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you can use an expression for your list box as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;If(vTog = 0, TimeDim1, TimeDim2)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to create a button with an action to toggle vTog between 0 and 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 13:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867727#M998467</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-21T13:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 different time dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867728#M998468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A Calculated Dimension would work, but could be inefficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead you could have both dimensions in your chart and make them conditional dependent on your toggled variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 13:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867728#M998468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-21T13:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 different time dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867729#M998469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why would it be inefficient?&lt;/P&gt;&lt;P&gt;and also - how do you use that strategy when needing to switch between these dimensions in expressions? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 14:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867729#M998469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-21T14:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 different time dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867730#M998470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because Calculated Dimensions are re-evaluated every time a user clicks anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 14:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867730#M998470</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-21T14:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 different time dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867731#M998471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you will need to make any changes to your expression if the expression itself doesn't need any change. So if you want to see Sum(Sales) by two dimensions (one at a time), you can use a calculated dimension or conditionally hide/show dimension and use just one expressions Sum(Sales). But in case you want to see Sum(Sales) with one dimension and Count(Sales) with another then you will need an if statement expression or two expression which hide/show conditionally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a lot of options available, you just need to see what works best for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 15:37:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867731#M998471</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-21T15:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 different time dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867732#M998472</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;use a crosstable load to create a canonical date and derive a canonical date calendar from it. Doing so you will get a DateType field your users can use to switch between the different dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&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;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>Sun, 21 Jun 2015 23:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867732#M998472</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-21T23:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 different time dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867733#M998473</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;one example of this solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_169289_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/90340_QlikCommunity_Thread_169289_Pic1.JPG" style="height: 334px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_169289_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/90341_QlikCommunity_Thread_169289_Pic2.JPG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_169289_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/90342_QlikCommunity_Thread_169289_Pic3.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_169289_Pic4.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/90343_QlikCommunity_Thread_169289_Pic4.JPG" style="height: auto; width: auto;" /&gt;&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;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>Mon, 22 Jun 2015 23:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867733#M998473</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-22T23:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 different time dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867734#M998474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Marco for the detailed answer, this solves my problem!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 05:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-different-time-dimensions/m-p/867734#M998474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-23T05:29:52Z</dc:date>
    </item>
  </channel>
</rss>

