<?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: Using multiple fields in a pie chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934715#M953550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bot now i have synthetic keys as i have two tables with the same fields name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Nov 2015 12:53:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-27T12:53:30Z</dc:date>
    <item>
      <title>Using multiple fields in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934706#M953541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a pie chart that shows the sum of each Generation by Area:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Generation.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105922_Generation.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to creat a pie chart for each Area, so the first one will display the values of Baby Boomers, X and Y for "IT" and so go on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created "Area" as the Dimension, and included 3 expressions:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum ({&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Area]&lt;/SPAN&gt;={IT}&amp;gt;}[Baby Boomers]) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum ({&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Area]&lt;/SPAN&gt;={IT}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;X&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum ({&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Area]&lt;/SPAN&gt;={IT}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;Y&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;And thats the result i had:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IT.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/105944_IT.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i show the values of each Generation in the same pie chart??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 16:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934706#M953541</guid>
      <dc:creator />
      <dc:date>2015-11-18T16:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple fields in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934707#M953542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove the dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 16:50:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934707#M953542</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-18T16:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple fields in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934708#M953543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don´t believe it was only that. (lol)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks swuehl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 16:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934708#M953543</guid>
      <dc:creator />
      <dc:date>2015-11-18T16:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple fields in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934709#M953544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternatively, load your data like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CROSSTABLE ( Generation, Value,2)&lt;/P&gt;&lt;P&gt;LOAD Area, Year, [Baby Boomers], X, Y&lt;/P&gt;&lt;P&gt;FROM ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then create a pie chart (if you want...) with two dimensions, Area and Generation, select Trellis option for first dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a single expression:&lt;/P&gt;&lt;P&gt;=Sum( Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 16:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934709#M953544</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-18T16:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple fields in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934710#M953545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, could you clarify why you included "Value" and "2" into the Crosstable parameters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CROSSTABLE ( Generation, Value,2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 17:50:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934710#M953545</guid>
      <dc:creator />
      <dc:date>2015-11-26T17:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple fields in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934711#M953546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Value" is the name of the field that will be generated by the transformation to hold the values (i.e. the number currently contained in fields Baby Boomers, X, Y). "Generation" will be the field that holds the generation values: "Baby Boomers", "X", "Y"). "2" is telling QV to handle first two fields in the LOAD statement as qualifying fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also the HELP and&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3628"&gt;The Crosstable Load&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 21:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934711#M953546</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-26T21:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple fields in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934712#M953547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help.&lt;/P&gt;&lt;P&gt;It worked fine, but now i have other problem:&lt;/P&gt;&lt;P&gt;As you can see the data table above, there is a field Year, where i created a list to filter the results by Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a single expression now:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #800000;"&gt;[Area]&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;[Farma Brazil*]&lt;/SPAN&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this expression in the pie chart, the list of the year is no filtering the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know if it is possible to fix that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:15:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934712#M953547</guid>
      <dc:creator />
      <dc:date>2015-11-27T12:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple fields in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934713#M953548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, should be possible. But it's unclear how your current model looks like and what's causing the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you upload a small sample QVW?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934713#M953548</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-27T12:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple fields in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934714#M953549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found where it was the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I remaned the fields in the CrossTable, when i changed to the same name of the original fields the chart is filtering the results by year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again swuehl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934714#M953549</guid>
      <dc:creator />
      <dc:date>2015-11-27T12:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using multiple fields in a pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934715#M953550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bot now i have synthetic keys as i have two tables with the same fields name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:53:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-multiple-fields-in-a-pie-chart/m-p/934715#M953550</guid>
      <dc:creator />
      <dc:date>2015-11-27T12:53:30Z</dc:date>
    </item>
  </channel>
</rss>

