<?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: Company and number aligned, and employee intervals in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495638#M1134286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) If you have a table like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Company, PhoneNumber&lt;/P&gt;&lt;P&gt;Company A, 12345678&lt;/P&gt;&lt;P&gt;Company B, 23456789&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should be as simple as creating a straight table chart with dimension Company and as expression use&lt;/P&gt;&lt;P&gt;=only(PhoneNumber)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) There are multiple ways to classify the company size, one way is to use the class() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class(Size, 250) as CompanyClass&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;Company, Size&lt;/P&gt;&lt;P&gt;Company A, 100&lt;/P&gt;&lt;P&gt;Company B, 1000&lt;/P&gt;&lt;P&gt;Company C, 2500,&lt;/P&gt;&lt;P&gt;Company D, 200&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Nov 2013 12:20:30 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-11-09T12:20:30Z</dc:date>
    <item>
      <title>Company and number aligned, and employee intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495636#M1134284</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;1) I have this simpel customer table with company name and phone number as seperate fields, at this specific level I need to link company name with the exact phone number, without clicking on a single company!? This mean that from the list of companies the list of phone numbers are aligned. I dont want to merge the fields from the original datasource. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I have a field with number of employees (Company size), and I would like to sort/group the rows into intervals!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 23:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495636#M1134284</guid>
      <dc:creator />
      <dc:date>2013-11-07T23:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Company and number aligned, and employee intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495637#M1134285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CAn you attach The table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Nov 2013 12:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495637#M1134285</guid>
      <dc:creator />
      <dc:date>2013-11-09T12:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Company and number aligned, and employee intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495638#M1134286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) If you have a table like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Company, PhoneNumber&lt;/P&gt;&lt;P&gt;Company A, 12345678&lt;/P&gt;&lt;P&gt;Company B, 23456789&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should be as simple as creating a straight table chart with dimension Company and as expression use&lt;/P&gt;&lt;P&gt;=only(PhoneNumber)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) There are multiple ways to classify the company size, one way is to use the class() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class(Size, 250) as CompanyClass&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;Company, Size&lt;/P&gt;&lt;P&gt;Company A, 100&lt;/P&gt;&lt;P&gt;Company B, 1000&lt;/P&gt;&lt;P&gt;Company C, 2500,&lt;/P&gt;&lt;P&gt;Company D, 200&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Nov 2013 12:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495638#M1134286</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-11-09T12:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Company and number aligned, and employee intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495639#M1134287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry data is confidential. It is just a simple table, from the Edit script window it looks like this (translated to English):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"...&lt;/P&gt;&lt;P&gt;SET DayNames='ma;ti;on;to;fr;lø;sø';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Company name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Address,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Zip code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; City Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Phone number,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Employees,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Segment,&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels);&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Nov 2013 14:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495639#M1134287</guid>
      <dc:creator />
      <dc:date>2013-11-09T14:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Company and number aligned, and employee intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495640#M1134288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Well I don't understand why I should create a chart? Lets say I have the fields Company name, Phone number and Segment shown. So I click on a Segment, it becomes green and in the Company name section I might get 20 Companies marked white, properly the same for Phone number. The only problem is that I don't know which Company goes with which number unless I click on a specific company name or phone number. I want to have the Company list and the Phone list next to each other, or something similar, and be that company A and phone number A is next to each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I have the field # Employees which for instance could range from 30 to 3000. So I just need to consolidate them a bit, like 30-50, 50-100, etc., so I can click on a range and see how many companies I have in the range between 30-50.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Nov 2013 15:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495640#M1134288</guid>
      <dc:creator />
      <dc:date>2013-11-09T15:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Company and number aligned, and employee intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495641#M1134289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) You can also create an expression in a list box for field Company. Expression would also be &lt;/P&gt;&lt;P&gt;=only(PhoneNumber)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;=concat(PhoneNumber)&lt;/P&gt;&lt;P&gt;if you may have a 1:n relationship.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating a list box with an expression is not much different to a straight table chart, though (by default, a list box displays also excluded values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) As I said use a conditional expression to classify your data, either using class() function or maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD NumEmployees,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(NumEmployees &amp;lt; 30, '&amp;lt;30', if(NumEmployees &amp;lt;50, '30-50', if(NumEmployees &amp;lt; 100,'50-100','&amp;gt;=100'))) as Class,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Nov 2013 16:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495641#M1134289</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-11-09T16:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Company and number aligned, and employee intervals</title>
      <link>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495642#M1134290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx, I guess I misunderstood you then, sorry.&lt;/P&gt;&lt;P&gt;The list box work perfect in this case. Also I thought Classes was something else, but it works great &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Nov 2013 20:22:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Company-and-number-aligned-and-employee-intervals/m-p/495642#M1134290</guid>
      <dc:creator />
      <dc:date>2013-11-09T20:22:50Z</dc:date>
    </item>
  </channel>
</rss>

