<?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: simple bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309240#M823476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a chart (straight table for tabular presentation, Bar chart- for histogram) with below setting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: X&lt;/P&gt;&lt;P&gt;Expression: Sum( Distinct Y)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jul 2017 08:57:41 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2017-07-28T08:57:41Z</dc:date>
    <item>
      <title>unique values into another table</title>
      <link>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309238#M823474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to qlikview and I'm struggling with a relatively easy problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following chunk of my table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;RowNo&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;X&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Y&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;22&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;22&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;22&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;33&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;7&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;22&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;22&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;9&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;55&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to do 2 things here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- I would like extract from this table, the unique values and get the following table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;X&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Y&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;22&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;33&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;55&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this? I tried to use distinct, but it is not giving me what I want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- From the new table, I want to create a simple histogram. I guess I should use X as dimension and Y as expression right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I still miss the idea of how qlikview treats dimensions and expressions, can someone guide me to a documentation where this is well explained. Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309238#M823474</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: simple bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309239#M823475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;X as dimension Y as expression, yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3015"&gt;Dimensions and Measures&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2662"&gt;The Only Function&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 08:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309239#M823475</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2017-07-28T08:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: simple bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309240#M823476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a chart (straight table for tabular presentation, Bar chart- for histogram) with below setting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: X&lt;/P&gt;&lt;P&gt;Expression: Sum( Distinct Y)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 08:57:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309240#M823476</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-07-28T08:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: unique values into another table</title>
      <link>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309241#M823477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X as DImension,&lt;/P&gt;&lt;P&gt;Y as Expression &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(Sum(Y), RowNo)&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 08:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309241#M823477</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2017-07-28T08:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: unique values into another table</title>
      <link>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309242#M823478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer the attached file. hope this will help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 09:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309242#M823478</guid>
      <dc:creator>neha_shirsath</dc:creator>
      <dc:date>2017-07-28T09:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: unique values into another table</title>
      <link>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309243#M823479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first question, is how can I get from table one to table two? If I remove RowNo from the dimension, I dont get any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and why there is sum here? I don't want to sum anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 09:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309243#M823479</guid>
      <dc:creator />
      <dc:date>2017-07-28T09:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: unique values into another table</title>
      <link>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309244#M823480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you checked my attachment?&lt;/P&gt;&lt;P&gt;I've created that table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 09:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309244#M823480</guid>
      <dc:creator>neha_shirsath</dc:creator>
      <dc:date>2017-07-28T09:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: simple bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309245#M823481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using a &lt;STRONG&gt;table box ?&lt;/STRONG&gt; Use only the dimensions X and Y. That should get you the first requirement done. For 2nd try using my suggestion above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 09:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309245#M823481</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-07-28T09:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: unique values into another table</title>
      <link>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309246#M823482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table box only shows Unique records only,&lt;/P&gt;&lt;P&gt;If you take X and Y, that should be unique records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; width: 275px; height: 121px;" width="273"&gt;&lt;THEAD style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; background-position: no-repeat; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;X&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; background-position: no-repeat; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Y&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;11&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;22&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;33&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;55&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 09:19:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309246#M823482</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2017-07-28T09:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: unique values into another table</title>
      <link>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309247#M823483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abdullah,&lt;/P&gt;&lt;P&gt;If you want to create your table of distinct values in your data model then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RawData:&lt;/P&gt;&lt;P&gt;LOAD X, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="269310" data-objecttype="1" href="https://community.qlik.com/thread/269310"&gt;https://community.qlik.com/thread/269310&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;DistinctData:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Distinct X,Y Resident RawData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table RawData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your bar chart dimension X and expression Y will be fine. If you don't specify an aggregation function QlikView assumes Only(Y) which returns Y if there is only one value for Y and is null if more than one. Since for each value of X there is a single value of Y no explicit aggregation is required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bar.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171736_Bar.jpg" style="height: auto;" /&gt;&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;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 09:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309247#M823483</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-28T09:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: unique values into another table</title>
      <link>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309248#M823484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok this works now, thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I add a new column to the NEW table, which represent the frequency of each value of X in the ORIGINAL table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 09:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309248#M823484</guid>
      <dc:creator />
      <dc:date>2017-07-28T09:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: unique values into another table</title>
      <link>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309249#M823485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Straight table:&lt;/P&gt;&lt;P&gt;Dim1:X&lt;/P&gt;&lt;P&gt;Dim2:Y&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // you might or might not need this&lt;/P&gt;&lt;P&gt;Exp1: Count(X)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 09:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unique-values-into-another-table/m-p/1309249#M823485</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-07-28T09:45:57Z</dc:date>
    </item>
  </channel>
</rss>

