<?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 Set Analysis: get a pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-get-a-pivot-table/m-p/1683910#M593731</link>
    <description>&lt;P&gt;Hi, I have the following table&amp;nbsp;&lt;/P&gt;&lt;P&gt;qualify *;&lt;/P&gt;&lt;P&gt;B:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;master_process_name,step_process_name, nb_run, step_exec_time&lt;BR /&gt;a,step1,1,10&lt;BR /&gt;a,step1,2,20&lt;BR /&gt;a,step2,1,30&lt;BR /&gt;a,step2,2,40&lt;BR /&gt;a,step2,3,5&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I need to create a pivot table with 2 dimensions : "master_process_name" and "step_process_name".&lt;/P&gt;&lt;P&gt;In the pivot table, I need to create an expression that shows me the sum of execution time of all and only the process steps that have the maximum nb_run value inside the same step,&lt;BR /&gt;filtering out the all the other process steps.&lt;/P&gt;&lt;P&gt;The attached picture shows the goal I am trying to get. Which set analysis expression (or other solution) should I use?&lt;/P&gt;&lt;P&gt;Thank you , Best Regards&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:04:46 GMT</pubDate>
    <dc:creator>maverick1984_c</dc:creator>
    <dc:date>2024-11-16T01:04:46Z</dc:date>
    <item>
      <title>Set Analysis: get a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-get-a-pivot-table/m-p/1683910#M593731</link>
      <description>&lt;P&gt;Hi, I have the following table&amp;nbsp;&lt;/P&gt;&lt;P&gt;qualify *;&lt;/P&gt;&lt;P&gt;B:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;master_process_name,step_process_name, nb_run, step_exec_time&lt;BR /&gt;a,step1,1,10&lt;BR /&gt;a,step1,2,20&lt;BR /&gt;a,step2,1,30&lt;BR /&gt;a,step2,2,40&lt;BR /&gt;a,step2,3,5&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I need to create a pivot table with 2 dimensions : "master_process_name" and "step_process_name".&lt;/P&gt;&lt;P&gt;In the pivot table, I need to create an expression that shows me the sum of execution time of all and only the process steps that have the maximum nb_run value inside the same step,&lt;BR /&gt;filtering out the all the other process steps.&lt;/P&gt;&lt;P&gt;The attached picture shows the goal I am trying to get. Which set analysis expression (or other solution) should I use?&lt;/P&gt;&lt;P&gt;Thank you , Best Regards&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-get-a-pivot-table/m-p/1683910#M593731</guid>
      <dc:creator>maverick1984_c</dc:creator>
      <dc:date>2024-11-16T01:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: get a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-get-a-pivot-table/m-p/1683931#M593732</link>
      <description>&lt;P&gt;Try this on Pivot Table&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Note : Please check box "Always Fully Expanded"&amp;nbsp; option on presentation tab for sure&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Dimensions&lt;/U&gt;&lt;/P&gt;&lt;P&gt;master_process_name&lt;/P&gt;&lt;P&gt;step_process_name&lt;/P&gt;&lt;P&gt;nb_run&lt;/P&gt;&lt;P&gt;&lt;U&gt;Expression&lt;/U&gt;&lt;/P&gt;&lt;P&gt;=if(nb_run=max(total &amp;lt;step_process_name&amp;gt; nb_run),Sum(step_exec_time))&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 18:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-get-a-pivot-table/m-p/1683931#M593732</guid>
      <dc:creator>bharathadde</dc:creator>
      <dc:date>2020-03-11T18:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: get a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-get-a-pivot-table/m-p/1683943#M593733</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/106479"&gt;@maverick1984_c&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Try with this in the expression:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sum(
aggr(
    if(nb_run=max(total&amp;lt;step_process_name&amp;gt;nb_run),
		Sum(step_exec_time))
,step_process_name,nb_run)
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 19:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-get-a-pivot-table/m-p/1683943#M593733</guid>
      <dc:creator>joseph_morales</dc:creator>
      <dc:date>2020-03-11T19:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: get a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-get-a-pivot-table/m-p/1683948#M593734</link>
      <description>&lt;P&gt;Hi Bharathadde , your solution is almost close to my goal, but it doesn't let to expand / close the pivot. Thank you anyway for the suggestion .&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 19:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-get-a-pivot-table/m-p/1683948#M593734</guid>
      <dc:creator>maverick1984_c</dc:creator>
      <dc:date>2020-03-11T19:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis: get a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-get-a-pivot-table/m-p/1683950#M593735</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;SPAN&gt;Joseph Morales, this is exactly what I was searching for.&amp;nbsp; TOP !!!!&amp;nbsp; Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 19:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-get-a-pivot-table/m-p/1683950#M593735</guid>
      <dc:creator>maverick1984_c</dc:creator>
      <dc:date>2020-03-11T19:42:03Z</dc:date>
    </item>
  </channel>
</rss>

