<?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: dynamic dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/dynamic-dimension/m-p/424627#M158171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and how would that look?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 09:44:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-11T09:44:08Z</dc:date>
    <item>
      <title>dynamic dimension</title>
      <link>https://community.qlik.com/t5/QlikView/dynamic-dimension/m-p/424625#M158169</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;I am trying to create a dynamic dimension based on the possible values of a field. I know how to get the possible values of my field (concat(myfield, ', ')). if i put this in a if like if(concat(myfield, ', ') = 'KBS'), 'hello', 'Bye') it also works fine. I tested this in a textbox. so far so good. if i try this in a pivot table for a dynamic dimension I always get an error. my dynamic dimension looks like this: if(concat(myfield, ', ') = 'KBS', field1, field2)&lt;/P&gt;&lt;P&gt;may someone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 09:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamic-dimension/m-p/424625#M158169</guid>
      <dc:creator />
      <dc:date>2012-12-11T09:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic dimension</title>
      <link>https://community.qlik.com/t5/QlikView/dynamic-dimension/m-p/424626#M158170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;concat() is an aggregation function, if memory serves, which means you can't use it directly in your dimension formula. You'd have to wrap it in an aggr() function. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 09:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamic-dimension/m-p/424626#M158170</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2012-12-11T09:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic dimension</title>
      <link>https://community.qlik.com/t5/QlikView/dynamic-dimension/m-p/424627#M158171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and how would that look?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 09:44:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamic-dimension/m-p/424627#M158171</guid>
      <dc:creator />
      <dc:date>2012-12-11T09:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic dimension</title>
      <link>https://community.qlik.com/t5/QlikView/dynamic-dimension/m-p/424628#M158172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without knowing what your datamodel looks like,&lt;/P&gt;&lt;P&gt;if(aggr(concat(myfield, ', '),SomeDimension) = 'KBS', field1, field2)&lt;/P&gt;&lt;P&gt;Where SomeDimension is a dimension that will not interfere with your aggregation (if no such dimension exists, you can create something like "Load 1 as SomeDimension" in your script and leave it loose, which should work). There's probably a neater way of doing that, though. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 09:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/dynamic-dimension/m-p/424628#M158172</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2012-12-11T09:46:39Z</dc:date>
    </item>
  </channel>
</rss>

