<?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 getting all data from the list where only one name is selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/getting-all-data-from-the-list-where-only-one-name-is-selected/m-p/628992#M230957</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'm trying to create an expression where I use two lists (I use more, but I think these two lists will do it):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Department:&lt;/P&gt;&lt;P&gt;New York&lt;/P&gt;&lt;P&gt;Boston&lt;/P&gt;&lt;P&gt;Chicago&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in each department got 4 sellers, named like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;NY1, NY2,...... C4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If one has selected seller C2, I would like to pull the rest of those sellers from Chicago to be shown in a block-chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind rgs&lt;/P&gt;&lt;P&gt;Espen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 May 2014 22:51:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-10T22:51:56Z</dc:date>
    <item>
      <title>getting all data from the list where only one name is selected</title>
      <link>https://community.qlik.com/t5/QlikView/getting-all-data-from-the-list-where-only-one-name-is-selected/m-p/628992#M230957</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'm trying to create an expression where I use two lists (I use more, but I think these two lists will do it):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Department:&lt;/P&gt;&lt;P&gt;New York&lt;/P&gt;&lt;P&gt;Boston&lt;/P&gt;&lt;P&gt;Chicago&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in each department got 4 sellers, named like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;NY1, NY2,...... C4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If one has selected seller C2, I would like to pull the rest of those sellers from Chicago to be shown in a block-chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind rgs&lt;/P&gt;&lt;P&gt;Espen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2014 22:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getting-all-data-from-the-list-where-only-one-name-is-selected/m-p/628992#M230957</guid>
      <dc:creator />
      <dc:date>2014-05-10T22:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: getting all data from the list where only one name is selected</title>
      <link>https://community.qlik.com/t5/QlikView/getting-all-data-from-the-list-where-only-one-name-is-selected/m-p/628993#M230958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So it's like you want to make an implicite selection in Department based on your selection in Seller, showing all Seller for that Department? Then look into set analysis and the p() function, something along this line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum( &lt;STRONG&gt;{&amp;lt;Department&amp;nbsp; = p(), Seller= &amp;gt;}&lt;/STRONG&gt; VALUE)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2014 23:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getting-all-data-from-the-list-where-only-one-name-is-selected/m-p/628993#M230958</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-05-10T23:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: getting all data from the list where only one name is selected</title>
      <link>https://community.qlik.com/t5/QlikView/getting-all-data-from-the-list-where-only-one-name-is-selected/m-p/628994#M230959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a Straight table with Department as the dimension and the following as the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Concat({$&amp;lt;Seller=E(Seller)&amp;gt;} Seller, '/')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is expression concatenates all Sellers not selected (in one list) from the Department selected (in the other list)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this solves your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2014 23:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getting-all-data-from-the-list-where-only-one-name-is-selected/m-p/628994#M230959</guid>
      <dc:creator>eduardo_sommer</dc:creator>
      <dc:date>2014-05-10T23:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: getting all data from the list where only one name is selected</title>
      <link>https://community.qlik.com/t5/QlikView/getting-all-data-from-the-list-where-only-one-name-is-selected/m-p/628995#M230960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thank you for the answer. I cannot get it to work,&lt;/P&gt;&lt;P&gt;maybe it is because it's in a string:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(IsNull(GetCurrentSelections()), Department,&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(Department)=1,Seller,&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(Department)&amp;gt;1,Department,&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(Seller)=1,&lt;STRONG&gt;{&amp;lt;Department = p(), Seller=&amp;gt;}&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(Seller)&amp;gt;1,Seller,Department)))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind rgs&lt;/P&gt;&lt;P&gt;Espen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 May 2014 07:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getting-all-data-from-the-list-where-only-one-name-is-selected/m-p/628995#M230960</guid>
      <dc:creator />
      <dc:date>2014-05-11T07:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: getting all data from the list where only one name is selected</title>
      <link>https://community.qlik.com/t5/QlikView/getting-all-data-from-the-list-where-only-one-name-is-selected/m-p/628996#M230961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eduardo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your suggestion too, but i couldn't get it right. My idea is to be able to show all sellers from the group where one seller has been selected, mainly for comparisement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use this in a block-chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(IsNull(GetCurrentSelections()), Department,&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(Department)=1,Seller,&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(Department)&amp;gt;1,Department,&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(Seller)=1,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;STRONG&gt;Concat({$&amp;lt;Seller=E(Seller)&amp;gt;} Seller, '/')&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;If(GetSelectedCount(Seller)&amp;gt;1,Seller,Department)))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind rgs&lt;/P&gt;&lt;P&gt;Espen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 May 2014 07:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/getting-all-data-from-the-list-where-only-one-name-is-selected/m-p/628996#M230961</guid>
      <dc:creator />
      <dc:date>2014-05-11T07:38:02Z</dc:date>
    </item>
  </channel>
</rss>

