<?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: Challange with pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935437#M322976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works like my fortst expression: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(IsNull(STARTTime)= -1, Absence, Timestamp(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STARTTime&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'hh:mm'))&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;So unfortunately it don't give me the right values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Nov 2015 07:35:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-05T07:35:53Z</dc:date>
    <item>
      <title>Challange with pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935432#M322971</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've some challange with get the information I want in a pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I've som dimensions:&lt;/P&gt;&lt;P&gt;- CC&lt;/P&gt;&lt;P&gt;- EmpGroup&lt;/P&gt;&lt;P&gt;- TimeType&lt;/P&gt;&lt;P&gt;- EmpID&lt;/P&gt;&lt;P&gt;Then I've a expression:&lt;/P&gt;&lt;P&gt;if(IsNull(STARTTime)= -1, Absence, Timestamp(&lt;SPAN style="font-size: 13.3333px;"&gt;STARTTime&lt;/SPAN&gt;,'hh:mm')) so I get &lt;SPAN style="font-size: 13.3333px;"&gt;STARTTime and if there are no &lt;SPAN style="font-size: 13.3333px;"&gt;STARTTime I will have the &lt;SPAN style="font-size: 13.3333px;"&gt;Absence.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This doesen't work that well so I change the Expression like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(aggr(if(IsNull(&lt;SPAN style="font-size: 13.3333px;"&gt;STARTTime&lt;/SPAN&gt;)= -1, &lt;SPAN style="font-size: 13.3333px;"&gt;Absence&lt;/SPAN&gt;, Timestamp(&lt;SPAN style="font-size: 13.3333px;"&gt;STARTTime&lt;/SPAN&gt;,'hh:mm')), &lt;SPAN style="font-size: 13.3333px;"&gt;STARTTime&lt;/SPAN&gt;, &lt;SPAN style="font-size: 13.3333px;"&gt;Absence&lt;/SPAN&gt;, &lt;SPAN style="font-size: 13.3333px;"&gt;CC&lt;/SPAN&gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;EmpGroup&lt;/SPAN&gt;,&lt;SPAN style="font-size: 13.3333px;"&gt;TimeType&lt;/SPAN&gt;,&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;EmpID&lt;/SPAN&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This works much better so I get all the &lt;SPAN style="font-size: 13.3333px;"&gt;STARTTime but I will not get any &lt;SPAN style="font-size: 13.3333px;"&gt;Absence. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any one that have a suggestion? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 16:52:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935432#M322971</guid>
      <dc:creator />
      <dc:date>2015-11-04T16:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Challange with pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935433#M322972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like count(Alt(STARTTime, Absence)). Though I have no idea what you're trying to calculate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 17:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935433#M322972</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-11-04T17:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Challange with pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935434#M322973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(len(STARTTime)= 0, Absence, Timestamp(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STARTTime&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'hh:mm')) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;this returns &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Timestamp(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STARTTime&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'hh:mm') when &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;len(STARTTime) is not zero else 'Absence'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 17:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935434#M322973</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-11-04T17:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Challange with pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935435#M322974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For every combination of dimension values, is it guaranteed that there is only one unique value of STARTTime or Absence? I assume it's not, so you need to consider using &lt;/P&gt;&lt;P&gt;a) aggregation functions!&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3779"&gt;Use Aggregation Functions!&lt;/A&gt;&lt;/P&gt;&lt;P&gt;b) add dimensions, so that it's guaranteed that there is only() unique value per combination of dimensional values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are potentially summing different STARTTimes in your second expression, is this really what you want (summing times? or do you want to sum intervals? Or do&amp;nbsp; you just show a single value?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 17:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935435#M322974</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-04T17:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Challange with pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935436#M322975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it should be only one unique single value of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;STARTTime or Absence.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I just want to show a single value, if there are any &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;STARTTime show that otherwise Absence.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 07:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935436#M322975</guid>
      <dc:creator />
      <dc:date>2015-11-05T07:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Challange with pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935437#M322976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works like my fortst expression: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(IsNull(STARTTime)= -1, Absence, Timestamp(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STARTTime&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'hh:mm'))&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;So unfortunately it don't give me the right values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 07:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935437#M322976</guid>
      <dc:creator />
      <dc:date>2015-11-05T07:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Challange with pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935438#M322977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I just want to show value, if there are any &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STARTTime show that otherwise Absence.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The attached picture does only show &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;STARTTime.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG alt="Time_Absence.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103981_Time_Absence.JPG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 07:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935438#M322977</guid>
      <dc:creator />
      <dc:date>2015-11-05T07:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Challange with pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935439#M322978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you expand all dimensions? I think with collapsed dimensions, you probably don't have unique values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 11:09:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challange-with-pivot-table/m-p/935439#M322978</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-05T11:09:56Z</dc:date>
    </item>
  </channel>
</rss>

