<?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 in filter, display the pre-mapped values, but filter by mapped-value 'behind the scene' in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/in-filter-display-the-pre-mapped-values-but-filter-by-mapped/m-p/2445083#M97612</link>
    <description>&lt;P&gt;I have a map below, which related food to fcode. fcode is the key that links multiple tables together.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;map1:&lt;/P&gt;
&lt;P&gt;[food,fcode&lt;/P&gt;
&lt;P&gt;apple,a&lt;/P&gt;
&lt;P&gt;apple-pie,a&lt;/P&gt;
&lt;P&gt;banana,b&lt;/P&gt;
&lt;P&gt;banana-float,b&lt;/P&gt;
&lt;P&gt;cherry,c&lt;/P&gt;
&lt;P&gt;cherry-coke,c];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's say&lt;/P&gt;
&lt;P&gt;Table 1 -uses fruits (applymap() can be used to turn food into fcode)&lt;/P&gt;
&lt;P&gt;Table 2 -uses fcode (can not reverse into food)&lt;/P&gt;
&lt;P&gt;Table 3 -uses fcode (can not reverse into food)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can i create a filter, such that:&lt;/P&gt;
&lt;P&gt;1. the filter display the food values. (i.e apple-pie and not 'a')&lt;/P&gt;
&lt;P&gt;2. When selecting food values, the filter is applied to all tables (1,2,3). I.e if I select apple-pie (or apple), the filter also set&amp;nbsp; fcode to 'a' and table 2,3 will display only information relating to 'a'. Note that it is accepted for either apple-pie or apple to be selected to filter for fcode 'a'&lt;/P&gt;
&lt;P&gt;If I use applymap() on table 1, and filter by fcode, i lose context for my users who only understands food.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2024 03:45:29 GMT</pubDate>
    <dc:creator>ynottableau</dc:creator>
    <dc:date>2024-04-26T03:45:29Z</dc:date>
    <item>
      <title>in filter, display the pre-mapped values, but filter by mapped-value 'behind the scene'</title>
      <link>https://community.qlik.com/t5/App-Development/in-filter-display-the-pre-mapped-values-but-filter-by-mapped/m-p/2445083#M97612</link>
      <description>&lt;P&gt;I have a map below, which related food to fcode. fcode is the key that links multiple tables together.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;map1:&lt;/P&gt;
&lt;P&gt;[food,fcode&lt;/P&gt;
&lt;P&gt;apple,a&lt;/P&gt;
&lt;P&gt;apple-pie,a&lt;/P&gt;
&lt;P&gt;banana,b&lt;/P&gt;
&lt;P&gt;banana-float,b&lt;/P&gt;
&lt;P&gt;cherry,c&lt;/P&gt;
&lt;P&gt;cherry-coke,c];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's say&lt;/P&gt;
&lt;P&gt;Table 1 -uses fruits (applymap() can be used to turn food into fcode)&lt;/P&gt;
&lt;P&gt;Table 2 -uses fcode (can not reverse into food)&lt;/P&gt;
&lt;P&gt;Table 3 -uses fcode (can not reverse into food)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can i create a filter, such that:&lt;/P&gt;
&lt;P&gt;1. the filter display the food values. (i.e apple-pie and not 'a')&lt;/P&gt;
&lt;P&gt;2. When selecting food values, the filter is applied to all tables (1,2,3). I.e if I select apple-pie (or apple), the filter also set&amp;nbsp; fcode to 'a' and table 2,3 will display only information relating to 'a'. Note that it is accepted for either apple-pie or apple to be selected to filter for fcode 'a'&lt;/P&gt;
&lt;P&gt;If I use applymap() on table 1, and filter by fcode, i lose context for my users who only understands food.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 03:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/in-filter-display-the-pre-mapped-values-but-filter-by-mapped/m-p/2445083#M97612</guid>
      <dc:creator>ynottableau</dc:creator>
      <dc:date>2024-04-26T03:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: in filter, display the pre-mapped values, but filter by mapped-value 'behind the scene'</title>
      <link>https://community.qlik.com/t5/App-Development/in-filter-display-the-pre-mapped-values-but-filter-by-mapped/m-p/2445111#M97617</link>
      <description>&lt;P&gt;You could try something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A:&lt;/P&gt;
&lt;P&gt;Load&lt;/P&gt;
&lt;P&gt;Fruit,&lt;/P&gt;
&lt;P&gt;Applymap ('map1', Fruit, 'missing') as fcode,&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;From sourceA;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B:&lt;/P&gt;
&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;fcode,&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;From sourceB;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:&lt;/P&gt;
&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;fcode,&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;From sourceC;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 06:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/in-filter-display-the-pre-mapped-values-but-filter-by-mapped/m-p/2445111#M97617</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2024-04-26T06:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: in filter, display the pre-mapped values, but filter by mapped-value 'behind the scene'</title>
      <link>https://community.qlik.com/t5/App-Development/in-filter-display-the-pre-mapped-values-but-filter-by-mapped/m-p/2445337#M97638</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;
&lt;P&gt;The small problem with what you prescribed is that 'apple' and 'apple-pie' must both be selected to filter for all fcode 'c'&lt;/P&gt;
&lt;P&gt;If a user select only 'apple' it will not show the correct values in the other tables.&lt;/P&gt;
&lt;P&gt;If possible, I need it so that even if only 'apple' is selected, the other tables show all values for fcode 'c' (as if the user had selected both 'apple' and 'apple-pie')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 14:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/in-filter-display-the-pre-mapped-values-but-filter-by-mapped/m-p/2445337#M97638</guid>
      <dc:creator>ynottableau</dc:creator>
      <dc:date>2024-04-26T14:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: in filter, display the pre-mapped values, but filter by mapped-value 'behind the scene'</title>
      <link>https://community.qlik.com/t5/App-Development/in-filter-display-the-pre-mapped-values-but-filter-by-mapped/m-p/2445353#M97640</link>
      <description>&lt;P&gt;If you link all three tables per fcode you get exactly what you are describing as target - not as direct selections in the field fcode but the associations between the tables will behave in this way.&lt;/P&gt;
&lt;P&gt;If your views don't show the expected results it means that your link isn't suitable for this target or something else is wrong. Personally I doubt that your approach is really expedient because it's only a connection of fruit-categories. Any further relations to periods or stores/countries and so on are not included and couldn't therefore considered. I think you will need some more adjustments to the data-model.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 15:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/in-filter-display-the-pre-mapped-values-but-filter-by-mapped/m-p/2445353#M97640</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-04-26T15:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: in filter, display the pre-mapped values, but filter by mapped-value 'behind the scene'</title>
      <link>https://community.qlik.com/t5/App-Development/in-filter-display-the-pre-mapped-values-but-filter-by-mapped/m-p/2445377#M97641</link>
      <description>&lt;P&gt;food and fcode are being used here as masks (and also for the sake of simplification) for the actual data that I am displaying.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are other synthetic keys (5 to be exact). The approach described works for my data-model but only when the user select both 'apple' and 'apple-pie'&lt;/P&gt;
&lt;P&gt;To have a clean 1 field filter is more for user friendliness sake. My work around is just to put both fcode,fruits into a table to display for the users to select and filter.&lt;/P&gt;
&lt;P&gt;Appreciate the responses. Thanks all.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 16:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/in-filter-display-the-pre-mapped-values-but-filter-by-mapped/m-p/2445377#M97641</guid>
      <dc:creator>ynottableau</dc:creator>
      <dc:date>2024-04-26T16:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: in filter, display the pre-mapped values, but filter by mapped-value 'behind the scene'</title>
      <link>https://community.qlik.com/t5/App-Development/in-filter-display-the-pre-mapped-values-but-filter-by-mapped/m-p/2445515#M97659</link>
      <description>&lt;P&gt;IMO you have not a suitable data-model. I suggest to consider a synthetic key always as an error which leads to an invalide data-model - even if it seemed to work and native features like the "standard" intervalmatch results in one. The last should be rather regarded as an exception and not that's a general working approach.&lt;/P&gt;
&lt;P&gt;And the trouble increased if there isn't a single synthetic key else n ones which may even create synthetic keys between them.&lt;/P&gt;
&lt;P&gt;Beside this the official recommended data-model is a star-scheme which means having a single fact-table with n surrounding dimension-tables because it's the best compromise between development efforts, performance and usability. Therefore I suggest to rethink your data-model again.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2024 09:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/in-filter-display-the-pre-mapped-values-but-filter-by-mapped/m-p/2445515#M97659</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-04-27T09:54:30Z</dc:date>
    </item>
  </channel>
</rss>

