<?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: how to modify the expression based on the Calculated Dimension? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-modify-the-expression-based-on-the-Calculated-Dimension/m-p/836372#M294189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Count([Field Number])) in the expression did the trick.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2015 09:28:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-16T09:28:48Z</dc:date>
    <item>
      <title>how to modify the expression based on the Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-modify-the-expression-based-on-the-Calculated-Dimension/m-p/836371#M294188</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;Please help me solve the below issue.&lt;/P&gt;&lt;P&gt;I am creating a bar chart with 2 dimensions and one expression.&lt;/P&gt;&lt;P&gt;Dimensions are YearMonth and Site Name&lt;/P&gt;&lt;P&gt;Expression is count of field number.&lt;/P&gt;&lt;P&gt;in this chart, 2 more fields to be considered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields Are 1) Description and 2) &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Receipt&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Issued?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;condition is something like below:&lt;/P&gt;&lt;P&gt;If Description is Market withdrawal, then Site name should be appended with --Market withdrawal&lt;/P&gt;&lt;P&gt;If &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Site Name&lt;/SPAN&gt; is 1, then Site name should be appended with --&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Receipt&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; Sent&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;if none of the above conditions meet, then &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Site name should be appended with --&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Recall.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the expression should count the Field Number, based on above dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this calculated Dimension:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=if([Description]='Market Withdrawal',[Site Name]&amp;amp; '&amp;nbsp; -' &amp;amp; 'Market Withdrawal', &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;if([&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Receipt&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Issued?]='1',[Site Name]&amp;amp; '&amp;nbsp; -' &amp;amp; '&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Receipt&lt;/SPAN&gt; Sent',[Site Name] &amp;amp; '&amp;nbsp; -' &amp;amp; 'Recall'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if([&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Description&lt;/SPAN&gt;]='Market Withdrawal',Count([Field Number]),&lt;/P&gt;&lt;P&gt;if([&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Receipt&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Issued?&lt;/SPAN&gt;]='1',Count([Field Number]),Count([Field Number])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the count is not as expected.&lt;/P&gt;&lt;P&gt;if i try only below part of expression, count is proper&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if([&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Description&lt;/SPAN&gt;]='Market Withdrawal',Count([Field Number]),&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;if([&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Receipt&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Issued?&lt;/SPAN&gt;]='1',Count([Field Number]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone please help me figure out what is going wrong here?&lt;/P&gt;&lt;P&gt;Can i avoid this calculated dimension and manipulate the expression to satisfy the requirement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Jyothi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 08:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-modify-the-expression-based-on-the-Calculated-Dimension/m-p/836371#M294188</guid>
      <dc:creator />
      <dc:date>2015-04-15T08:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to modify the expression based on the Calculated Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-modify-the-expression-based-on-the-Calculated-Dimension/m-p/836372#M294189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Count([Field Number])) in the expression did the trick.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2015 09:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-modify-the-expression-based-on-the-Calculated-Dimension/m-p/836372#M294189</guid>
      <dc:creator />
      <dc:date>2015-04-16T09:28:48Z</dc:date>
    </item>
  </channel>
</rss>

