<?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: percentage for due date intervals in single expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/percentage-for-due-date-intervals-in-single-expression/m-p/576143#M214378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Share your QVW. its not clear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2014 07:26:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-27T07:26:03Z</dc:date>
    <item>
      <title>percentage for due date intervals in single expression</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-for-due-date-intervals-in-single-expression/m-p/576142#M214377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bunch of due date intervals like: &amp;lt;5d ; 5d&amp;gt;&amp;lt;=30d and so on.&lt;/P&gt;&lt;P&gt;Those are strings in a field called &lt;STRONG&gt;AgeGroup&lt;/STRONG&gt; with a corresponding ID called &lt;STRONG&gt;AgeBucket&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I built a pivot table with the AgeGroup as a &lt;EM&gt;dimension&lt;/EM&gt; and a sum &lt;EM&gt;expression &lt;/EM&gt;using a&lt;EM&gt; variable&lt;/EM&gt;. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SUM($(vAmount))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I arranged the AgeGroup horizontally to show each due date interval in its &lt;EM&gt;own column&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;This was fine until I also wanted to add the calculated &lt;STRONG&gt;percentage&lt;/STRONG&gt; for each due date interval based on the total. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I do that in a&lt;EM&gt;&lt;STRONG&gt; single expression &lt;/STRONG&gt;&lt;/EM&gt;so that the individual intervals add up to 100%&lt;EM&gt; &lt;/EM&gt;?&lt;/P&gt;&lt;P&gt;Or do I have to use &lt;EM&gt;multiple&lt;/EM&gt; AgeGroup expressions like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({$&amp;lt;[Age Bucket]={&lt;STRONG&gt;2&lt;/STRONG&gt;},[Age Group]=&amp;gt;} &lt;SPAN style="font-family: courier new,courier;"&gt;$(vAmount)&lt;/SPAN&gt;) /&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum({$&amp;lt;[Age Group]=&amp;gt;} $(vAmount))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 06:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-for-due-date-intervals-in-single-expression/m-p/576142#M214377</guid>
      <dc:creator />
      <dc:date>2014-02-27T06:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: percentage for due date intervals in single expression</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-for-due-date-intervals-in-single-expression/m-p/576143#M214378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Share your QVW. its not clear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 07:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-for-due-date-intervals-in-single-expression/m-p/576143#M214378</guid>
      <dc:creator />
      <dc:date>2014-02-27T07:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: percentage for due date intervals in single expression</title>
      <link>https://community.qlik.com/t5/QlikView/percentage-for-due-date-intervals-in-single-expression/m-p/576144#M214379</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;There is total modifier that can reject dimensions in calculation.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum(total $(vAmount)) &lt;/SPAN&gt;gives you the total amount of all AgeGroups.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum($(vAmount)) /&lt;/SPAN&gt;sum(total $(vAmount)) &lt;/SPAN&gt;gives you the percentage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set analysis works alike user selections instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 07:37:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/percentage-for-due-date-intervals-in-single-expression/m-p/576144#M214379</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-02-27T07:37:35Z</dc:date>
    </item>
  </channel>
</rss>

