<?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 Calculations in a Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculations-in-a-Pivot-table/m-p/714797#M1057321</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;Please could you help me with the following?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/68800_QV.jpg" style="width: 620px; height: 135px;" /&gt;&lt;/P&gt;&lt;P&gt;I am busy setting up the above Pivot table.&amp;nbsp; I've got 2 dimensions running at the top which is CheckInDate and UtilisationStatus and then another dimension along the side which is Region.&amp;nbsp; My expression is Nr of Days.&amp;nbsp; I want to setup a Measure called "Utilization".&amp;nbsp; This will be the Nr of Days Confirmed/Total Nr of Days &lt;/P&gt;&lt;P&gt;1. The first question is what should my expression look like?&amp;nbsp; At the moment I am using&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;UtilizationStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Confirmed', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(vYear)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Days&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Days&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This only gives me an answer of 100% for the Gauteng region.&amp;nbsp; The other regions do not have any answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. The second question is How do I get the Utilization measure &lt;STRONG&gt;not&lt;/STRONG&gt; to show under the "Available" and "Confirmed" column? I only want it to show once which is after the "Total" column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanking you in advance for any help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antoinette&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 13:23:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-13T13:23:10Z</dc:date>
    <item>
      <title>Calculations in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-in-a-Pivot-table/m-p/714797#M1057321</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;Please could you help me with the following?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/68800_QV.jpg" style="width: 620px; height: 135px;" /&gt;&lt;/P&gt;&lt;P&gt;I am busy setting up the above Pivot table.&amp;nbsp; I've got 2 dimensions running at the top which is CheckInDate and UtilisationStatus and then another dimension along the side which is Region.&amp;nbsp; My expression is Nr of Days.&amp;nbsp; I want to setup a Measure called "Utilization".&amp;nbsp; This will be the Nr of Days Confirmed/Total Nr of Days &lt;/P&gt;&lt;P&gt;1. The first question is what should my expression look like?&amp;nbsp; At the moment I am using&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;UtilizationStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'Confirmed', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(vYear)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Days&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Days&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This only gives me an answer of 100% for the Gauteng region.&amp;nbsp; The other regions do not have any answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. The second question is How do I get the Utilization measure &lt;STRONG&gt;not&lt;/STRONG&gt; to show under the "Available" and "Confirmed" column? I only want it to show once which is after the "Total" column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanking you in advance for any help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antoinette&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 13:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-in-a-Pivot-table/m-p/714797#M1057321</guid>
      <dc:creator />
      <dc:date>2014-10-13T13:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-in-a-Pivot-table/m-p/714798#M1057323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you name the labels for the expressions you could use the expression labels from your table:&lt;/P&gt;&lt;P&gt;Confirmed / Total&lt;/P&gt;&lt;P&gt;Other wise an expression such as:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;UtilizationStatus={'Confirmed'}, Year={'&amp;gt;=$(vYear)'}&amp;gt;}Days) / sum({&amp;lt;Year={'&amp;gt;=$(vYear)'}&amp;gt;}Days)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 13:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-in-a-Pivot-table/m-p/714798#M1057323</guid>
      <dc:creator>tcullinane</dc:creator>
      <dc:date>2014-10-13T13:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-in-a-Pivot-table/m-p/714799#M1057325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wonderful!&amp;nbsp; Thank you so much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get the measure not to show under the "Available" and "Confirmed" columns?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 13:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-in-a-Pivot-table/m-p/714799#M1057325</guid>
      <dc:creator />
      <dc:date>2014-10-13T13:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations in a Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-in-a-Pivot-table/m-p/714800#M1057327</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;No worries.&amp;nbsp; I've made everything measures and now Utilization is only showing once.&amp;nbsp; Thanks&lt;/P&gt;&lt;P&gt;again for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;antoinette&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 14:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-in-a-Pivot-table/m-p/714800#M1057327</guid>
      <dc:creator />
      <dc:date>2014-10-13T14:17:38Z</dc:date>
    </item>
  </channel>
</rss>

