<?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 Dynamic Filters based on multiple and dynamic fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Filters-based-on-multiple-and-dynamic-fields/m-p/754811#M268880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are developing a BI for a database where data from different customers is stored with a different structure:&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;Client1:&lt;/P&gt;&lt;P&gt;Name, Country, Age&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Client2:&lt;/P&gt;&lt;P&gt;FirstName, ZipCode, CountryCode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and new clients can appear at anytime so the QV we must develop has to be 100% regarding field naming convention...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Facts Data is stored in the same tables for everybody so that's not a problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that we want to add dynamic Filters in our document regarding the Client, so for example, if Client 1 is connected, we should display Name,Country and Age list fields in order to filter data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If tomorrow a new Client appears, (Client3) with a whole new structure , the BI should be prepared for that ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hint?&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Nov 2014 14:09:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-16T14:09:26Z</dc:date>
    <item>
      <title>Dynamic Filters based on multiple and dynamic fields</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Filters-based-on-multiple-and-dynamic-fields/m-p/754811#M268880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are developing a BI for a database where data from different customers is stored with a different structure:&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;Client1:&lt;/P&gt;&lt;P&gt;Name, Country, Age&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Client2:&lt;/P&gt;&lt;P&gt;FirstName, ZipCode, CountryCode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and new clients can appear at anytime so the QV we must develop has to be 100% regarding field naming convention...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Facts Data is stored in the same tables for everybody so that's not a problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that we want to add dynamic Filters in our document regarding the Client, so for example, if Client 1 is connected, we should display Name,Country and Age list fields in order to filter data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If tomorrow a new Client appears, (Client3) with a whole new structure , the BI should be prepared for that ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hint?&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 14:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Filters-based-on-multiple-and-dynamic-fields/m-p/754811#M268880</guid>
      <dc:creator />
      <dc:date>2014-11-16T14:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filters based on multiple and dynamic fields</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Filters-based-on-multiple-and-dynamic-fields/m-p/754812#M268881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide few lines sample along with the output you are expecting..&lt;/P&gt;&lt;P&gt;would like to help you on the same...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 16:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Filters-based-on-multiple-and-dynamic-fields/m-p/754812#M268881</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-16T16:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filters based on multiple and dynamic fields</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Filters-based-on-multiple-and-dynamic-fields/m-p/754813#M268882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for you reply, what kind of extra info would you need? I've added INLINE script at the bottom&lt;/P&gt;&lt;P&gt;It's more an interface problem as the charts will be the same for everybody but for Client 1, I would like to display automatically&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Name, Country, Age&amp;nbsp; filters and for Client 2, none of the previous filters should appear and only &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FirstName, ZipCode, CountryCode will be displayed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also, this should work for new clients which can appear at any moment with a whole new field structure regarding an specific table. (Clients table will always have ClientId and RecipientId but the rest of fields can change completely ...)&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Operation:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ClientId, OperationId, RecipientId, Result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 1, 1,&amp;nbsp; Opened&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 2, 2,&amp;nbsp; Opened&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 3, 3, Not Opened&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 4, 1, Opened&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 5, 2, Not Opened&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 6, 3, Opened&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RecipientsClient1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Prenom, Nom, F/H, Age, Ville, RecipientId, Age Group,ClientId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yves, Montand, Homme, 34, Nice, 1 , 25-50,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Patrick, Bruel, Homme, 22, Bordeaux, 2, 0-25,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Marie, Laforet, Femme, 76, Paris, 3 , 75-100,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RecipientsClient2:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nombre, Apellidos, Genero, Edad, Ciudad, RecipientId, Grupo Edad,ClientId&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Julien, Clerc, Homme, 85, Paris, 1 , 75-100,2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alain , Souchon, Homme, 67, Montpellier, 2 , 50-75,2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Charles , Aznavour, Homme, 87, Montpellier, 3 , 75-100,2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I display BarChart where Dimension = Operation.Result&amp;nbsp; and Expression = Count(RecipientId) &lt;/P&gt;&lt;P&gt;I filter always by Client1 OR Client2&amp;nbsp; as users can only display data for the Client they belong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Nov 2014 17:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Filters-based-on-multiple-and-dynamic-fields/m-p/754813#M268882</guid>
      <dc:creator />
      <dc:date>2014-11-16T17:59:31Z</dc:date>
    </item>
  </channel>
</rss>

