<?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: Dimension Expression: If Clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289917#M498537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Please see attached. Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2011 07:59:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-20T07:59:51Z</dc:date>
    <item>
      <title>Dimension Expression: If Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289913#M498533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a database that has a list of names and the hours that these people worked. I am busy creating an invoicing checking report and need some help figuring out how to do this one thing in particular.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want my dimension, which is "Name" to list only names and sum hours for where I have an if clause. The if clause would work like this. If the person has a particular cost code appearing more than once for a particular week, list his name and his hours for where there is a 'duplicate' essentially. How would I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 09:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289913#M498533</guid>
      <dc:creator />
      <dc:date>2011-07-19T09:00:20Z</dc:date>
    </item>
    <item>
      <title>Dimension Expression: If Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289914#M498534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my straight table I have this as an expression. I somehow need to add if week ending = weekending (duplicate) to this expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;CategoryDesc&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;={'Labour Charges'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;Hours&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;TempName&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;Cheers, Byron&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 09:21:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289914#M498534</guid>
      <dc:creator />
      <dc:date>2011-07-19T09:21:10Z</dc:date>
    </item>
    <item>
      <title>Dimension Expression: If Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289915#M498535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Anyone??? Please help, or ask me to explain again if need be. Thanks, Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 07:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289915#M498535</guid>
      <dc:creator />
      <dc:date>2011-07-20T07:24:47Z</dc:date>
    </item>
    <item>
      <title>Dimension Expression: If Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289916#M498536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hei &lt;/P&gt;&lt;P&gt;can you post sample data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 07:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289916#M498536</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-07-20T07:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Expression: If Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289917#M498537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Please see attached. Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 07:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289917#M498537</guid>
      <dc:creator />
      <dc:date>2011-07-20T07:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Expression: If Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289918#M498538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hei&lt;/P&gt;&lt;P&gt;attach is an example&lt;/P&gt;&lt;P&gt;first icorrected your table &lt;/P&gt;&lt;P&gt;in the expression i add the filed TempName to the aggr fields&lt;/P&gt;&lt;P&gt;second i created new table which diplay only the records where the same Temp Name &lt;/P&gt;&lt;P&gt;in the same wkend&amp;nbsp; &lt;/P&gt;&lt;P&gt;in the same ctdesc &lt;/P&gt;&lt;P&gt;has more then one record&lt;/P&gt;&lt;P&gt;hope its helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 08:26:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289918#M498538</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-07-20T08:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Expression: If Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289919#M498539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Iiron, we are really close &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; From the sample data I gave you it works PERFECTLY. I'm not sure why in my 'real world' data it is not doing exactly the same. Basically what is happening is that it indicates in the aggr column if the condition is true with a 1 (which is great). For all other fields it is showing a '-' which I know to be Null???? What would I need to change to get it to not show results for items that dont fit the condition i.e. the '-'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Byron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 09:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289919#M498539</guid>
      <dc:creator />
      <dc:date>2011-07-20T09:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Expression: If Clause</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289920#M498540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; LOL, just figured it out 'supress when value is null' &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Thanks for the help Iiron. Works like a charm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 09:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-Expression-If-Clause/m-p/289920#M498540</guid>
      <dc:creator />
      <dc:date>2011-07-20T09:22:43Z</dc:date>
    </item>
  </channel>
</rss>

