<?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: Create a Pivot Table by association over multiple dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-a-Pivot-Table-by-association-over-multiple-dimensions/m-p/1580176#M42360</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've done this by loading all the data into one table and categorizing the data as either a complaint or an inquiry in a new field, Type.&lt;BR /&gt;LOAD&lt;BR /&gt;	Date([Complaint_Year Month],'MMM-YY') as YearMonth,&lt;BR /&gt;	[Complaint_Region] as Region,&lt;BR /&gt;	[Complaint_Name] as Name,&lt;BR /&gt;	[Complaint_Service] as Service,&lt;BR /&gt;	'Complaint' AS [Type]&lt;BR /&gt; FROM [lib://Community/Example_data_source.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;BR /&gt;&lt;BR /&gt;Join&lt;BR /&gt;LOAD&lt;BR /&gt;	Date([Inq_Year Month], 'MMM-YY') as YearMonth,&lt;BR /&gt;	[Inq_Region] as Region,&lt;BR /&gt;	[Inq_Name] as Name,&lt;BR /&gt;	[Inq_Service] as Service,&lt;BR /&gt;	'Inquiry' AS [Type]&lt;BR /&gt; FROM [lib://Community/Example_data_source.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet2);&lt;BR /&gt;&lt;BR /&gt;Then in the pivot table use this expression to determine the CSI:&lt;BR /&gt;Count({&amp;lt;Type={Complaint}&amp;gt;}Name)/count({&amp;lt;Type={Inquiry}&amp;gt;}Name)</description>
    <pubDate>Wed, 15 May 2019 01:09:05 GMT</pubDate>
    <dc:creator>Lisa_P</dc:creator>
    <dc:date>2019-05-15T01:09:05Z</dc:date>
    <item>
      <title>Create a Pivot Table by association over multiple dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Create-a-Pivot-Table-by-association-over-multiple-dimensions/m-p/1579471#M42294</link>
      <description>&lt;P&gt;I have to create a report to measure the Client Satisfaction Index (CSI) for each month region wise. which is calculated using the below formula:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 - (complaints received for each month for each region / Inquiry received for each month in each region)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the data from these two table:&lt;/P&gt;&lt;P&gt;1) Complaint_table:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Complaint_data.PNG" style="width: 515px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11944i4891FB87AA9501DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Complaint_data.PNG" alt="Complaint_data.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) Inquiry_table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Inquiry_data.PNG" style="width: 311px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11945i86FEA879CFF1A928/image-size/large?v=v2&amp;amp;px=999" role="button" title="Inquiry_data.PNG" alt="Inquiry_data.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now I have associated these two tables on Year_month. I am stuck after this as I also want to associate over Region as otherwise how will I map the same two regions with each other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally I want to create a pivot table with region as rows and columns as Year month and the measure as the CSI formula described above.&lt;/P&gt;&lt;P&gt;For e.g&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sep-18&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Oct-18&amp;nbsp;&lt;/P&gt;&lt;P&gt;Region&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CSI&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CSI&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;40%&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50%&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50%&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;67%&lt;/P&gt;&lt;P&gt;C&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 67%&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0%&lt;/P&gt;&lt;P&gt;D&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;67%&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;67%&lt;/P&gt;&lt;P&gt;E&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 33%&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;50%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am not sure how to do this analysis, Please help me out&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-a-Pivot-Table-by-association-over-multiple-dimensions/m-p/1579471#M42294</guid>
      <dc:creator>kushagra_jain</dc:creator>
      <dc:date>2024-11-16T20:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Pivot Table by association over multiple dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Create-a-Pivot-Table-by-association-over-multiple-dimensions/m-p/1580176#M42360</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've done this by loading all the data into one table and categorizing the data as either a complaint or an inquiry in a new field, Type.&lt;BR /&gt;LOAD&lt;BR /&gt;	Date([Complaint_Year Month],'MMM-YY') as YearMonth,&lt;BR /&gt;	[Complaint_Region] as Region,&lt;BR /&gt;	[Complaint_Name] as Name,&lt;BR /&gt;	[Complaint_Service] as Service,&lt;BR /&gt;	'Complaint' AS [Type]&lt;BR /&gt; FROM [lib://Community/Example_data_source.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;BR /&gt;&lt;BR /&gt;Join&lt;BR /&gt;LOAD&lt;BR /&gt;	Date([Inq_Year Month], 'MMM-YY') as YearMonth,&lt;BR /&gt;	[Inq_Region] as Region,&lt;BR /&gt;	[Inq_Name] as Name,&lt;BR /&gt;	[Inq_Service] as Service,&lt;BR /&gt;	'Inquiry' AS [Type]&lt;BR /&gt; FROM [lib://Community/Example_data_source.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet2);&lt;BR /&gt;&lt;BR /&gt;Then in the pivot table use this expression to determine the CSI:&lt;BR /&gt;Count({&amp;lt;Type={Complaint}&amp;gt;}Name)/count({&amp;lt;Type={Inquiry}&amp;gt;}Name)</description>
      <pubDate>Wed, 15 May 2019 01:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-a-Pivot-Table-by-association-over-multiple-dimensions/m-p/1580176#M42360</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2019-05-15T01:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Pivot Table by association over multiple dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Create-a-Pivot-Table-by-association-over-multiple-dimensions/m-p/1580209#M42362</link>
      <description>&lt;P&gt;I agree with Lisa_P, that's what I would do too.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 06:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-a-Pivot-Table-by-association-over-multiple-dimensions/m-p/1580209#M42362</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-05-15T06:17:14Z</dc:date>
    </item>
  </channel>
</rss>

