<?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: Error in calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002140#M976465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kind of like this in SQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select myFieldValue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from descriptionMeasure&lt;/P&gt;&lt;P&gt;where myFieldValue in ('Value1','Value 39','Value4237')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Aug 2015 16:55:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-26T16:55:24Z</dc:date>
    <item>
      <title>Error in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002135#M976460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use specific field values in my chart dimension.&amp;nbsp; I only want to use three out of one hundred. This is what I have for the Calculated Dimension right now, but it is erroring out:&lt;/P&gt;&lt;P&gt;=Only({$&amp;lt;descriptionMeasure={"*Total Net Interest*","*Other Income*","*Total Revenue*"}&amp;gt;}descriptionMeasure)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I select just three fields out of many to display as my chart dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 15:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002135#M976460</guid>
      <dc:creator />
      <dc:date>2015-08-26T15:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002136#M976461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you aggregate with respect to other dimensions of the chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AGGR(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Only({$&amp;lt;descriptionMeasure={"*Total Net Interest*","*Other Income*","*Total Revenue*"}&amp;gt;}descriptionMeasure)&lt;/SPAN&gt;,OtherTableDimensions)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 15:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002136#M976461</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-08-26T15:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002137#M976462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no other dimensions to the chart. I want to use descriptionMeasure for the dimension, but I don't want all the values from descritpionMeasure, I want three specific ones. This chart will always be the same three descritpionMeasure fields and will cahnge according to region or business unit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 16:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002137#M976462</guid>
      <dc:creator />
      <dc:date>2015-08-26T16:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002138#M976463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;AGGR(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Only({$&amp;lt;descriptionMeasure={"*Total Net Interest*","*Other Income*","*Total Revenue*"}&amp;gt;}descriptionMeasure)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;descriptionMeasure&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;then try this. and let me know if that works&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;krishna&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 16:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002138#M976463</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-08-26T16:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002139#M976464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that the ONLY is not the right function to use.&amp;nbsp; If you had a field that contained values but only wanted to use a few for a dimension, what would you do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 16:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002139#M976464</guid>
      <dc:creator />
      <dc:date>2015-08-26T16:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002140#M976465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kind of like this in SQL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select myFieldValue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from descriptionMeasure&lt;/P&gt;&lt;P&gt;where myFieldValue in ('Value1','Value 39','Value4237')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 16:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002140#M976465</guid>
      <dc:creator />
      <dc:date>2015-08-26T16:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002141#M976466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For calculated dimensions, you have to use only() function, but should be aggregated.&lt;/P&gt;&lt;P&gt;As Only() is the only non aggregate function where we can use set analysis to filter the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if calculated dimension is the only dimension in the chart then the Expression will be&amp;nbsp; Aggr(Only({Condition}FieldName),FieldName).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(Only({$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;myFieldValue = {&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Value1','Value 39','Value4237'&lt;/SPAN&gt;}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;myFieldValue&lt;/SPAN&gt;)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if i answered your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 17:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002141#M976466</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-08-26T17:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002142#M976467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try below if you want to display wild card match&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(if(wildmatch(descriptionMeasure,'*Total Net Interest*','*Other Income*','*Total Revenue*'),descriptionMeasure),descriptionMeasure)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or for exact pattern match try below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(if(match(descriptionMeasure,'Total Net Interest','Other Income','Total Revenue'),descriptionMeasure),descriptionMeasure)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 17:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002142#M976467</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-26T17:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error in calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002143#M976468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Like this&lt;/P&gt;&lt;P&gt;=Aggr(Only({$&amp;lt;descriptionMeasure={'*Total Net Interest*','*Other Income*','*Total Revenue*'}&amp;gt;}descriptionMeasure),descriptionMeasure)&lt;/P&gt;&lt;P&gt;hth&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 17:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension/m-p/1002143#M976468</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-26T17:46:19Z</dc:date>
    </item>
  </channel>
</rss>

