<?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: Use a variable as dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-a-variable-as-dimension/m-p/658536#M240321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert Wassenaar,&lt;/P&gt;&lt;P&gt;it's not the only dimension that i'm using (I'm using other twice)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using =$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;mFinishedWithoutDelay&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Sep 2014 20:17:11 GMT</pubDate>
    <dc:creator>jubarrosor</dc:creator>
    <dc:date>2014-09-09T20:17:11Z</dc:date>
    <item>
      <title>Use a variable as dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-variable-as-dimension/m-p/658534#M240319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hello,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I'm trying to create a bubble chart.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I need to use an expression as dimension and I created a variable for it. QV says that there is an error but my expression it's good because I'm using it in other charts&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The expression is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;mFinishedWithoutDelay =&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count( {$&amp;lt;[Status] = P({1&amp;lt;[group]={'FINISHED'}&amp;gt;}[Description]),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [delay_id]={'1'}&amp;gt;} DISTINCT request_id )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and the error is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Garbage after expression: "FINISHED"&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;What is the problem?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thank you and sorry for my english.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Best regards!.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 17:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-variable-as-dimension/m-p/658534#M240319</guid>
      <dc:creator>jubarrosor</dc:creator>
      <dc:date>2014-09-09T17:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Use a variable as dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-variable-as-dimension/m-p/658535#M240320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That expression will return only one value if you don't aggregate over dimensions. So it does not make sense to use it as a calculated dimension. How are you using it anyway: =mFinishedWithoutDelay or =$(mFinishedWithoutDelay) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 17:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-variable-as-dimension/m-p/658535#M240320</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-09-09T17:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Use a variable as dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-variable-as-dimension/m-p/658536#M240321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert Wassenaar,&lt;/P&gt;&lt;P&gt;it's not the only dimension that i'm using (I'm using other twice)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using =$(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;mFinishedWithoutDelay&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 20:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-variable-as-dimension/m-p/658536#M240321</guid>
      <dc:creator>jubarrosor</dc:creator>
      <dc:date>2014-09-09T20:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Use a variable as dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-variable-as-dimension/m-p/658537#M240322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post an example document that demonstrates the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 07:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-variable-as-dimension/m-p/658537#M240322</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-09-10T07:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Use a variable as dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-variable-as-dimension/m-p/658538#M240323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If by any chance, you are using single quotes while defining variable, like:&lt;/P&gt;&lt;P&gt;mFinishedWithoutDelay = '&amp;lt;Your expression&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, you might try with double quotes within set analysis like:&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;='count( {$&amp;lt;[Status] = P({1&amp;lt;[group]={&lt;STRONG&gt;"&lt;/STRONG&gt;FINISHED&lt;STRONG&gt;"&lt;/STRONG&gt;}&amp;gt;}[Description]),&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [delay_id]={1}&amp;gt;} DISTINCT request_id )'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 09:23:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-variable-as-dimension/m-p/658538#M240323</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-09-10T09:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Use a variable as dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Use-a-variable-as-dimension/m-p/658539#M240324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;finally I resolved the problem using aggr.&lt;/P&gt;&lt;P&gt;I've used the expression aggr($(mFinishedWithoutDelay), Office)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 12:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-a-variable-as-dimension/m-p/658539#M240324</guid>
      <dc:creator>jubarrosor</dc:creator>
      <dc:date>2014-09-10T12:52:06Z</dc:date>
    </item>
  </channel>
</rss>

