<?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: Dimension groups in a calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-groups-in-a-calculated-dimension/m-p/906152#M314879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you mean cycle or drill down groups when you say "&lt;STRONG&gt;dimension group&lt;/STRONG&gt;"? If yes, then you might be able to do what you have listed or you can add both your groups as dimension and make them condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for DimensionGroup1 use the condition var1 = 1 and&lt;/P&gt;&lt;P&gt;for DimesnionGroup2 use the condition var1 =2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87178_Capture.PNG" style="height: 320px; width: 620px;" /&gt;&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>Thu, 21 May 2015 14:19:10 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-05-21T14:19:10Z</dc:date>
    <item>
      <title>Dimension groups in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-groups-in-a-calculated-dimension/m-p/906150#M314877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to use dimension Groups in a calculated dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate a dimension where I use dimensiongroup1 if the variable var1 = 1 and dimensiongroup2 if var1 = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I try to set this calculated dimension up in a bar chart, I can only choose fields inside this IF statement, and not any dimension Groups I may have specified.&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;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;var1&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DimensionGroup1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&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;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;var1&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 2, &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DimensionGroup2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there anyone who can help with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 14:09:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-groups-in-a-calculated-dimension/m-p/906150#M314877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-21T14:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension groups in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-groups-in-a-calculated-dimension/m-p/906151#M314878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can .&amp;nbsp; But wrap the group names in [] brackets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;=if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;var1&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = 1,[&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;DimensionGroup1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;var1&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = 2, [&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;DimensionGroup2]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also test with $(var1)&amp;nbsp;&amp;nbsp; ... dollar sign expansion if you aren't getting the desired results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you could also add both groups to the dimensions and do a conditional show/hide on each dimension so that only 1 is used conditionally&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 14:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-groups-in-a-calculated-dimension/m-p/906151#M314878</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-05-21T14:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension groups in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-groups-in-a-calculated-dimension/m-p/906152#M314879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you mean cycle or drill down groups when you say "&lt;STRONG&gt;dimension group&lt;/STRONG&gt;"? If yes, then you might be able to do what you have listed or you can add both your groups as dimension and make them condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for DimensionGroup1 use the condition var1 = 1 and&lt;/P&gt;&lt;P&gt;for DimesnionGroup2 use the condition var1 =2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87178_Capture.PNG" style="height: 320px; width: 620px;" /&gt;&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>Thu, 21 May 2015 14:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-groups-in-a-calculated-dimension/m-p/906152#M314879</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-21T14:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension groups in a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-groups-in-a-calculated-dimension/m-p/906153#M314880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool, thanks alot. I will go for the show/hide option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 14:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-groups-in-a-calculated-dimension/m-p/906153#M314880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-21T14:24:31Z</dc:date>
    </item>
  </channel>
</rss>

