<?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 Fields with the same values. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164513#M37182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Beauty, I guess this will work. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Aug 2010 22:09:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-08-17T22:09:01Z</dc:date>
    <item>
      <title>Fields with the same values.</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164505#M37174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN closure_uid_7hf42x="385" yc="Olá." zc="Hello"&gt;Hello&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I have a table with some fields that have the same purpose. &lt;SPAN closure_uid_7hf42x="387" yc="Exemplo:" zc="Example:"&gt;Example:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN closure_uid_7hf42x="388" yc="Cidade_1" zc="Cidade_1"&gt;City&lt;/SPAN&gt;_1&lt;BR /&gt;&lt;SPAN closure_uid_7hf42x="389" style="background-color: #fff;" yc="Cidade_2" zc="Cidade_2"&gt;City&lt;/SPAN&gt;_2&lt;BR /&gt;&lt;SPAN closure_uid_7hf42x="390" yc="Cidade_3" zc="Cidade_3"&gt;City&lt;/SPAN&gt;_3&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN closure_uid_7hf42x="391" style="background-color: #fff;" yc="Pode ocorrer que dentro de algum desses campos tenham valores iguais." zc="That can occur within any of those fields have equal values."&gt;That can occur within any of those fields have equal values.&lt;BR /&gt;&lt;/SPAN&gt; &lt;SPAN closure_uid_7hf42x="392" style="background-color: #fff;" yc="Aquestão é:" zc="The issue is:"&gt;The issue is:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN closure_uid_7hf42x="393" style="background-color: #ebeff9;" yc="Como tornar esses campos em apenas um?" zc="As these fields become one?"&gt;As these fields become one?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;City.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 13:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164505#M37174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-17T13:14:07Z</dc:date>
    </item>
    <item>
      <title>Fields with the same values.</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164506#M37175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Washington,&lt;/P&gt;&lt;P&gt;The only way that a group of fields become one is having the same field name, not the same value.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 13:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164506#M37175</guid>
      <dc:creator />
      <dc:date>2010-08-17T13:19:09Z</dc:date>
    </item>
    <item>
      <title>Fields with the same values.</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164507#M37176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to tally up the results in these tables:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;City_1, Value City_2, Value City_3 Value&lt;/P&gt;&lt;P&gt;Rio de Janeiro , 10 São Paulo , 40 São Paulo , 20&lt;BR /&gt;Curitiba , 20 Belo Horizonte , 50 Rio de Janeiro, 30&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;and then return as follows:&lt;BR /&gt;&lt;BR /&gt;City, sum( Value)&lt;BR /&gt;Rio de Janeiro 40&lt;BR /&gt;Curitiba 20&lt;BR /&gt;Sao Paulo 60&lt;BR /&gt;Belo Horizonte 50&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 14:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164507#M37176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-17T14:39:39Z</dc:date>
    </item>
    <item>
      <title>Fields with the same values.</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164508#M37177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are those really three separate tables with those field names? So you have a connection between tables on the Value field? That's nasty data design for QlikView, because it means if you select City_3 = São Paulo, it will automatically select City_1 = Curitiba for you. I really don't think there's supposed to be a relationship like this between the two cities based on value, is there?&lt;/P&gt;&lt;P&gt;If that is NOT your data model, well, I can't really answer your question without you giving me your actual data model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 20:42:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164508#M37177</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-08-17T20:42:38Z</dc:date>
    </item>
    <item>
      <title>Fields with the same values.</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164509#M37178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the same table are these fields:&lt;BR /&gt;&lt;BR /&gt;Select load&lt;BR /&gt;City_1, City_2, City_3, Value&lt;BR /&gt;From ...&lt;BR /&gt;&lt;BR /&gt;Within the field "City" is the name of cities.&lt;BR /&gt;&lt;BR /&gt;Cities need to unite the fields in order to return the total of that city in the field "Value".&lt;BR /&gt;&lt;BR /&gt;City Value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 21:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164509#M37178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-17T21:05:18Z</dc:date>
    </item>
    <item>
      <title>Fields with the same values.</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164510#M37179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thanks. Sorry about my confusion.&lt;/P&gt;&lt;P&gt;If only ONE of the cities is filled in, and you don't care which, I'd just combine them all into one City field like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;LOAD&lt;BR /&gt; if(len(City_1),City_1,if(len(City_2),City_2,City_3)) as City&lt;BR /&gt;,Value&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;If more than one city can be filled in, I'll think about that case, but we'll start simple.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 21:13:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164510#M37179</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-08-17T21:13:24Z</dc:date>
    </item>
    <item>
      <title>Fields with the same values.</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164511#M37180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By parts worked ...&lt;BR /&gt;&lt;BR /&gt;I'm noticing that some fields are missing.&lt;BR /&gt;&lt;BR /&gt;In my table all fields are filled.&lt;BR /&gt;&lt;BR /&gt;City_1, City_2, City_3, Value&lt;BR /&gt;Rio de Janeiro São Paulo Curitiba 10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 21:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164511#M37180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-17T21:46:15Z</dc:date>
    </item>
    <item>
      <title>Fields with the same values.</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164512#M37181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I don't know if this is really what you want, but in the attached example I do a crosstable load to get one row per city in the original row, and I associate the value with every city on that row. It's then easy to do a plain old chart with City as the dimension and sum(Value) as the expression.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;RawData:&lt;BR /&gt;LOAD *, recno() as ID INLINE [&lt;BR /&gt;City_1, City_2, City_3, Value&lt;BR /&gt;Rio de Janeiro, São Paulo, Curitiba, 10&lt;BR /&gt;Rio de Janeiro, Belo Horizonte, São Paulo , 20&lt;BR /&gt;Curitiba, Belo Horizonte, Rio de Janeiro, 30&lt;BR /&gt;];&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;NewData:&lt;BR /&gt;CROSSTABLE ("City Sequence","City",2)&lt;BR /&gt;LOAD&lt;BR /&gt; ID&lt;BR /&gt;,Value&lt;BR /&gt;,City_1&lt;BR /&gt;,City_2&lt;BR /&gt;,City_3&lt;BR /&gt;RESIDENT RawData&lt;BR /&gt;;&lt;BR /&gt;DROP TABLE RawData;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 22:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164512#M37181</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-08-17T22:05:11Z</dc:date>
    </item>
    <item>
      <title>Fields with the same values.</title>
      <link>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164513#M37182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Beauty, I guess this will work. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 22:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fields-with-the-same-values/m-p/164513#M37182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-17T22:09:01Z</dc:date>
    </item>
  </channel>
</rss>

