<?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: Barchart with calculation on x-axis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686520#M1070379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just don't use the class function in this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Aug 2014 08:45:42 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-08-18T08:45:42Z</dc:date>
    <item>
      <title>Barchart with calculation on x-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686511#M1070351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following scenario for which I can't seem to find a good solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a multichannel report, I want to see how many people interacted with how many channels.&lt;/P&gt;&lt;P&gt;I want to represent this in a bar-chart, showing:&lt;/P&gt;&lt;P&gt;On the x-axis: the number of channels sequentially listed (eg: 1 - 2 - 3 - 4 - 5 - 6 - ...)&lt;/P&gt;&lt;P&gt;On the y-axis: the number of people that have interacted with the number of channels from the x-axis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically, the chart would answer a question like: "How many people interacted with exactly 4 channels".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no clue however on how to tackle this in a clean proper way.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Christophe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 07:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686511#M1070351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-15T07:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Barchart with calculation on x-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686512#M1070352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly Provide Sample Data...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You can use Class Function with Calculated Dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 08:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686512#M1070352</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-15T08:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Barchart with calculation on x-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686513#M1070354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've attached it to this reply.&lt;/P&gt;&lt;P&gt;You can see 4 persons interacting with 4 channels.&lt;/P&gt;&lt;P&gt;Person 1 has 4 channels interacted with (although there are 5 total interactions)&lt;/P&gt;&lt;P&gt;Person 2 has 2 channels interacted with&lt;/P&gt;&lt;P&gt;Person 3 has 3&lt;/P&gt;&lt;P&gt;Person 4 has 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for looking into this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 09:16:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686513#M1070354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-15T09:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Barchart with calculation on x-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686514#M1070357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris&lt;/P&gt;&lt;P&gt;You can do this two ways&lt;/P&gt;&lt;P&gt;- you can create a new table and the original table will be connected via personid&lt;/P&gt;&lt;P&gt;- can add a new field to the existing table by left join&lt;/P&gt;&lt;P&gt;Please see below code for new table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Channels:&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Channel&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;PersonID&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;BR /&gt; C:\Users\padmap\Documents\QlikView\Examples\Channels.xlsx&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; Channel);&lt;BR /&gt;&lt;BR /&gt; NoofChannels:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;Load&lt;/STRONG&gt; &lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;PersonID&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Channel&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;NoofChannels &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; Channels&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;Group&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;by&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;PersonID&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Thanks n regards&lt;/P&gt;&lt;P&gt;PAdma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 09:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686514#M1070357</guid>
      <dc:creator>qlikoqlik</dc:creator>
      <dc:date>2014-08-15T09:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Barchart with calculation on x-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686515#M1070361</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;If you want for each Person, the no. of channels interacted with then&lt;/P&gt;&lt;P&gt;Dimension would be PersonID&lt;/P&gt;&lt;P&gt;Expression would be Count(Distinct Channel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want for each Channel, the no. of persons interacted with then&lt;/P&gt;&lt;P&gt;Dimension would be Channel&lt;/P&gt;&lt;P&gt;Expression would be Count(Distinct Person ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above two solutions are given as the post first and latest replies are put up differently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Always remember Dimension is the context across which you want to show up a calculated value(Measure) &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 09:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686515#M1070361</guid>
      <dc:creator />
      <dc:date>2014-08-15T09:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Barchart with calculation on x-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686516#M1070363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Create a straight table or Bar Chart&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Dimension = Calculated Dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Class&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Channel&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;PersonID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;PersonID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 09:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686516#M1070363</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-15T09:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Barchart with calculation on x-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686517#M1070366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not solve it with a scatter chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you are able to use these measures on both axis:&lt;/P&gt;&lt;P&gt;On the x-axis: the number of channels&lt;/P&gt;&lt;P&gt;On the y-axis: the number of people&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not have a dimension you can probably use a calculated dimension only containing a text string, like a space or something descriptive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 10:13:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686517#M1070366</guid>
      <dc:creator />
      <dc:date>2014-08-15T10:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Barchart with calculation on x-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686518#M1070369</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;I gree that doing this in the front end is more flexible than a aggregation at script level.&lt;/P&gt;&lt;P&gt;The class function doesn't seem to be necessary though:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_129602_Pic1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/64523_QlikCommunity_Thread_129602_Pic1.png" style="width: 620px; height: 324px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64520" alt="QlikCommunity_Thread_129602_Pic2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/64520_QlikCommunity_Thread_129602_Pic2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64521" alt="QlikCommunity_Thread_129602_Pic3.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/64521_QlikCommunity_Thread_129602_Pic3.png" style="width: 620px; height: 136px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64522" alt="QlikCommunity_Thread_129602_Pic4.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/64522_QlikCommunity_Thread_129602_Pic4.png" style="width: 620px; height: 208px;" /&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 11:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686518#M1070369</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-15T11:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Barchart with calculation on x-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686519#M1070374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this worked for me !&lt;/P&gt;&lt;P&gt;Just wondering: how do you get rid of the autogenerated labels like "5 &amp;lt;= x &amp;lt;6" while all I need is "5".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 07:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686519#M1070374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-18T07:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: Barchart with calculation on x-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686520#M1070379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just don't use the class function in this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 08:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686520#M1070379</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-18T08:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Barchart with calculation on x-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686521#M1070381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the suggestion what Marco has given.. Absolutely right for your requirements..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 09:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Barchart-with-calculation-on-x-axis/m-p/686521#M1070381</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-18T09:07:05Z</dc:date>
    </item>
  </channel>
</rss>

