<?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: Ignore null values in dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893126#M73653</link>
    <description>&lt;P&gt;Yes, the objective of the app should be an employee schedule.&lt;/P&gt;
&lt;P&gt;The basis for this is an Excel table. At the top you can find the respective calendar weeks as numbers and then the assignment of the employees to the roles per calendar week. Currently, I read the Excel file twice in succession, always for the respective week, i.e.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let vWeek = '['&amp;amp;week(today())&amp;amp;']';
let vYear = '['&amp;amp;year(today())&amp;amp;']';

[MITARBEITER]:
LOAD 
    [F2]		AS Emplyee,
    '1'			AS Kontext,
    Pick
    (
        match
        ( 
        	$(vWeek)
            ,	'a'
            ,	'f'
            ,	'c'
            ,	's'
            ,	'r'
        )
        
        ,	'abwesend'
        ,	'2nd Level Support'
        ,	'Systemupdate - Code'
        ,	'Systemupdate - SQL'
        , 	'Release Manager'
	) AS Role

FROM [lib://AttachedFiles/Schedule.xlsx]
(ooxml, embedded labels, table is $(vYear))
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the same code for the following week, but '2' AS Kontext.&lt;/P&gt;
&lt;P&gt;My objective is to display the table as described in my question above. Does this help?&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2022 13:26:50 GMT</pubDate>
    <dc:creator>TinaH</dc:creator>
    <dc:date>2022-02-15T13:26:50Z</dc:date>
    <item>
      <title>Ignore null values in dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893099#M73646</link>
      <description>&lt;P&gt;Hello together,&lt;/P&gt;
&lt;P&gt;I am currently having a problem using multiple dimensions with many null vlaues.&amp;nbsp; Suppose i have the following dimensions / values:&lt;/P&gt;
&lt;TABLE border="1" width="57.05313154273533%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;Role&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;2022-07&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;2022-08&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;2nd Level Support&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Employee 1&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;-&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;2nd Level Support&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Employee 2&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;-&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;2nd Level Support&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Employee 3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;2nd Level Support&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Employee 4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="47px"&gt;Systemupdate - Code&lt;/TD&gt;
&lt;TD width="25%" height="47px"&gt;Employee 5&lt;/TD&gt;
&lt;TD width="25%" height="47px"&gt;-&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="47px"&gt;Systemupdate - Code&lt;/TD&gt;
&lt;TD width="25%" height="47px"&gt;-&lt;/TD&gt;
&lt;TD width="25%" height="47px"&gt;Employee 6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;Systemupdate - SQL&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Employee 7&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;-&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;Systemupdate - SQL&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;-&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Employee 8&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But my goal is that the table looks as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="75%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;Role&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;2022-07&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;2022-08&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="44px"&gt;2nd Level Support&lt;/TD&gt;
&lt;TD width="25%" height="44px"&gt;Employee 1&lt;/TD&gt;
&lt;TD width="25%" height="44px"&gt;Employee 3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="44px"&gt;2nd Level Support&lt;/TD&gt;
&lt;TD width="25%" height="44px"&gt;Employee 2&lt;/TD&gt;
&lt;TD width="25%" height="44px"&gt;Employee 4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="85px"&gt;Systemupdate - Code&lt;/TD&gt;
&lt;TD width="25%" height="85px"&gt;Employee 5&lt;/TD&gt;
&lt;TD width="25%" height="85px"&gt;Employee 6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="44px"&gt;Systemupdate - SQL&lt;/TD&gt;
&lt;TD width="25%" height="44px"&gt;Employee 7&lt;/TD&gt;
&lt;TD width="25%" height="44px"&gt;Employee 8&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can i achieve this?&lt;/P&gt;
&lt;P&gt;Thank you!!&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;Tina&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 12:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893099#M73646</guid>
      <dc:creator>TinaH</dc:creator>
      <dc:date>2022-02-15T12:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore null values in dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893109#M73649</link>
      <description>&lt;P&gt;For me it looks like your challenge is not ignoring null values but get a better matching of the data model.&lt;BR /&gt;&lt;BR /&gt;Can you provide more details on&amp;nbsp; your example tables: is this your raw data or is this already a result of scriptung?&lt;BR /&gt;What is the goal of this table? Is this a kind of employee schedule?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 12:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893109#M73649</guid>
      <dc:creator>chris_djih</dc:creator>
      <dc:date>2022-02-15T12:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore null values in dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893126#M73653</link>
      <description>&lt;P&gt;Yes, the objective of the app should be an employee schedule.&lt;/P&gt;
&lt;P&gt;The basis for this is an Excel table. At the top you can find the respective calendar weeks as numbers and then the assignment of the employees to the roles per calendar week. Currently, I read the Excel file twice in succession, always for the respective week, i.e.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let vWeek = '['&amp;amp;week(today())&amp;amp;']';
let vYear = '['&amp;amp;year(today())&amp;amp;']';

[MITARBEITER]:
LOAD 
    [F2]		AS Emplyee,
    '1'			AS Kontext,
    Pick
    (
        match
        ( 
        	$(vWeek)
            ,	'a'
            ,	'f'
            ,	'c'
            ,	's'
            ,	'r'
        )
        
        ,	'abwesend'
        ,	'2nd Level Support'
        ,	'Systemupdate - Code'
        ,	'Systemupdate - SQL'
        , 	'Release Manager'
	) AS Role

FROM [lib://AttachedFiles/Schedule.xlsx]
(ooxml, embedded labels, table is $(vYear))
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And the same code for the following week, but '2' AS Kontext.&lt;/P&gt;
&lt;P&gt;My objective is to display the table as described in my question above. Does this help?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 13:26:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893126#M73653</guid>
      <dc:creator>TinaH</dc:creator>
      <dc:date>2022-02-15T13:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore null values in dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893150#M73659</link>
      <description>&lt;P&gt;"And the same code for the following week" - and here lays the interesting point.&lt;BR /&gt;I assume you load it exactly the same wiht out any join or something like this?&lt;BR /&gt;Then it will&lt;A href="https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/LoadData/concatenate-tables.htm" target="_blank" rel="noopener"&gt; automatically concatenate&lt;/A&gt; (append the table):&lt;BR /&gt;If you want to combine the lines, i think you need to &lt;STRONG&gt;join&lt;/STRONG&gt; them.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 14:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893150#M73659</guid>
      <dc:creator>chris_djih</dc:creator>
      <dc:date>2022-02-15T14:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore null values in dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893167#M73661</link>
      <description>&lt;P&gt;Yes exactly: I load the data for the following week the same way, without using any join.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when I join the tables, I get the same result as above. Would it help if I publish an example file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 14:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893167#M73661</guid>
      <dc:creator>TinaH</dc:creator>
      <dc:date>2022-02-15T14:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore null values in dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893187#M73669</link>
      <description>&lt;P&gt;Yes, that would be very helpful. please give an example of the rawdata as well. so the community can puzzle around to get to the correct result.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 14:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893187#M73669</guid>
      <dc:creator>chris_djih</dc:creator>
      <dc:date>2022-02-15T14:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore null values in dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893190#M73670</link>
      <description>&lt;P&gt;Please find attached the example file as well as an example of raw data.&lt;/P&gt;
&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 14:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893190#M73670</guid>
      <dc:creator>TinaH</dc:creator>
      <dc:date>2022-02-15T14:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore null values in dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893671#M73702</link>
      <description>&lt;P&gt;Someone any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 11:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-null-values-in-dimensions/m-p/1893671#M73702</guid>
      <dc:creator>TinaH</dc:creator>
      <dc:date>2022-02-16T11:34:07Z</dc:date>
    </item>
  </channel>
</rss>

