<?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: simple calculated dimention in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/simple-calculated-dimention/m-p/739905#M264344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: monospace; font-size: 13px; color: blue;"&gt;Hi try this way&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: monospace; font-size: 13px; color: blue;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: monospace; font-size: 13px; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 13px; background-color: #f7f7f7;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: monospace; font-size: 13px; color: blue;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 13px; background-color: #f7f7f7;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: 13px; background-color: #f7f7f7; font-family: monospace;"&gt;code&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 13px; background-color: #f7f7f7;"&gt;), '&lt;SPAN style="color: #990000; font-family: monospace; font-size: 12.7272720336914px; background-color: #f7f7f7;"&gt;Null&lt;/SPAN&gt;' others,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 13px; background-color: #f7f7f7;"&gt;) &lt;/SPAN&gt;&lt;STRONG style="font-family: monospace; font-size: 13px; color: blue;"&gt;AS &lt;STRONG style="color: #990000; font-size: 13px; font-family: monospace;"&gt;descption&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; font-size: 13px; color: blue;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2015 11:00:14 GMT</pubDate>
    <dc:creator>rajkumarb</dc:creator>
    <dc:date>2015-01-06T11:00:14Z</dc:date>
    <item>
      <title>simple calculated dimention</title>
      <link>https://community.qlik.com/t5/QlikView/simple-calculated-dimention/m-p/739900#M264339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have two fields with code and Descption values..&lt;/P&gt;&lt;P&gt;I want to show&amp;nbsp; Descption dimentional value as "Others" where code = blank or null.&lt;/P&gt;&lt;P&gt;So i have written below&amp;nbsp; calculated dimention,but it will not give correct value.&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR align="left" bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;=if(isnull(Code),'Others',&lt;/STRONG&gt;Descption&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code&lt;/P&gt;&lt;P&gt;=====&lt;/P&gt;&lt;P&gt;CAC&lt;BR /&gt;EDE&lt;BR /&gt;null or blank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Descption &lt;/P&gt;&lt;P&gt;========&lt;/P&gt;&lt;P&gt;AC Power Systems&lt;BR /&gt;DIGITAL ENERGY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; Any helpful suggestions &lt;BR /&gt; Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 10:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-calculated-dimention/m-p/739900#M264339</guid>
      <dc:creator />
      <dc:date>2015-01-06T10:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: simple calculated dimention</title>
      <link>https://community.qlik.com/t5/QlikView/simple-calculated-dimention/m-p/739901#M264340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible is not null but is blank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with:&lt;/P&gt;&lt;P&gt;if(len(Code)&amp;lt;1, &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #363636; background-color: #f5f5f5;"&gt;'&lt;/STRONG&gt;Others&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #363636; background-color: #f5f5f5;"&gt;',&lt;/STRONG&gt;&lt;SPAN style="color: #363636; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f5f5f5;"&gt;Descption&lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #363636; background-color: #f5f5f5;"&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 10:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-calculated-dimention/m-p/739901#M264340</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2015-01-06T10:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: simple calculated dimention</title>
      <link>https://community.qlik.com/t5/QlikView/simple-calculated-dimention/m-p/739902#M264341</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 would recommend making this change in the script, as that way your 'others' description is a real field value and can be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you must use a calculated dimension though, the below should work for you&lt;/P&gt;&lt;P&gt;Aggr(if(isnull(Code),'others',Description),Code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 10:45:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-calculated-dimention/m-p/739902#M264341</guid>
      <dc:creator />
      <dc:date>2015-01-06T10:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: simple calculated dimention</title>
      <link>https://community.qlik.com/t5/QlikView/simple-calculated-dimention/m-p/739903#M264342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(Len(Trim(Code))=0,'Others',Descption)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 10:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-calculated-dimention/m-p/739903#M264342</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-01-06T10:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: simple calculated dimention</title>
      <link>https://community.qlik.com/t5/QlikView/simple-calculated-dimention/m-p/739904#M264343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe this may help&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;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Code&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;lt;1,'Others',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Description&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;Regards&lt;/P&gt;&lt;P&gt;Kamiel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 10:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-calculated-dimention/m-p/739904#M264343</guid>
      <dc:creator>kamielrajaram</dc:creator>
      <dc:date>2015-01-06T10:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: simple calculated dimention</title>
      <link>https://community.qlik.com/t5/QlikView/simple-calculated-dimention/m-p/739905#M264344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: monospace; font-size: 13px; color: blue;"&gt;Hi try this way&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: monospace; font-size: 13px; color: blue;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: monospace; font-size: 13px; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 13px; background-color: #f7f7f7;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: monospace; font-size: 13px; color: blue;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 13px; background-color: #f7f7f7;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #990000; font-size: 13px; background-color: #f7f7f7; font-family: monospace;"&gt;code&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 13px; background-color: #f7f7f7;"&gt;), '&lt;SPAN style="color: #990000; font-family: monospace; font-size: 12.7272720336914px; background-color: #f7f7f7;"&gt;Null&lt;/SPAN&gt;' others,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; font-size: 13px; background-color: #f7f7f7;"&gt;) &lt;/SPAN&gt;&lt;STRONG style="font-family: monospace; font-size: 13px; color: blue;"&gt;AS &lt;STRONG style="color: #990000; font-size: 13px; font-family: monospace;"&gt;descption&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; font-size: 13px; color: blue;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 11:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-calculated-dimention/m-p/739905#M264344</guid>
      <dc:creator>rajkumarb</dc:creator>
      <dc:date>2015-01-06T11:00:14Z</dc:date>
    </item>
  </channel>
</rss>

