<?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: Making two Applymap function in one syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Making-two-Applymap-function-in-one-syntax/m-p/1757139#M719291</link>
    <description>&lt;P&gt;I want like this in the Picture that the month and the Month before are in two different Fields&lt;/P&gt;&lt;P&gt;So AZK actual Month and AZK 100% is the Month before.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Oct 2020 17:24:46 GMT</pubDate>
    <dc:creator>Nocto</dc:creator>
    <dc:date>2020-10-29T17:24:46Z</dc:date>
    <item>
      <title>Making two Applymap function in one syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Making-two-Applymap-function-in-one-syntax/m-p/1757133#M719289</link>
      <description>&lt;P&gt;Hey guys I&amp;nbsp; hopefully you can help me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I Need the AZK 100% Field as a double applymatch syntax not as a Peek().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Monat=Month&amp;nbsp; VorMonat =One Month before&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-10-29 17_56_40-QlikView x64 - [F__impex_QlikView_00_ZentralsteuerungQlikView_ - __Remote.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43222i916B86C709ED2B7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-10-29 17_56_40-QlikView x64 - [F__impex_QlikView_00_ZentralsteuerungQlikView_ - __Remote.png" alt="2020-10-29 17_56_40-QlikView x64 - [F__impex_QlikView_00_ZentralsteuerungQlikView_ - __Remote.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT&gt;Stammdaten:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEY, Monat, Name, PersonalNR, AZK&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark_Bremen_Willhelm_karmann_2020_01, 1, Mark, 1, 40&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark_Bremen_Willhelm_karmann_2020_02, 2, Mark, 1, 40&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark_Bremen_Willhelm_karmann_2020_03, 3, Mark, 1, 42&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark_Bremen_Willhelm_karmann_2020_04, 4, Mark, 1, 36&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark_Bremen_Willhelm_karmann_2020_05, 5, Mark, 1, 35&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Paul_Bremen_Willhelm_karmann_2020_01, 1, Paul, 2, 40&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Paul_Bremen_Willhelm_karmann_2020_02, 2, Paul, 2, 36&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Paul_Bremen_Willhelm_karmann_2020_03, 3, Paul, 2, 35&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Paul_Bremen_Willhelm_karmann_2020_04, 4, Paul, 2, 45&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Paul_Bremen_Willhelm_karmann_2020_05, 5, Paul, 2, 20&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Karin_Bremen_Willhelm_karmann_2020_01, 1, Karin, 3, 40&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Karin_Bremen_Willhelm_karmann_2020_02, 2, Karin, 3, 45&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Karin_Bremen_Willhelm_karmann_2020_03, 3, Karin, 3, 42&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Karin_Bremen_Willhelm_karmann_2020_04, 4, Karin, 3, 43&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Karin_Bremen_Willhelm_karmann_2020_05, 5, Karin, 3, 38&lt;BR /&gt;];&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;[Map_Vormonat_primary]:&lt;BR /&gt;Mapping&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Key &amp;amp;'|'&amp;amp; Monat,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Key &amp;amp;'|'&amp;amp; (Monat-1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident Stammdaten&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; &amp;nbsp;&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;[Map_AktuellerMonat_AZK100]:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;mapping&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;FONT&gt;Key &amp;amp;'|'&amp;amp; Monat&lt;/FONT&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AZK&lt;BR /&gt;Resident Stammdaten&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NoConcatenate&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; temp_MA_Infos:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; applymap('Map_AktuellerMonat_AZK100',applymap('Map_Vormonat_primary',&lt;FONT&gt;Key &amp;amp;'|'&amp;amp; Monat&lt;/FONT&gt;,0),0) as [AZK 100 % Vormonat]&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; resident Stammdaten&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop table Stammdaten;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rename table temp_MA_Infos to Stammdanten;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;It wont Work.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT&gt;can you guys help met out.&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Making-two-Applymap-function-in-one-syntax/m-p/1757133#M719289</guid>
      <dc:creator>Nocto</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Making two Applymap function in one syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Making-two-Applymap-function-in-one-syntax/m-p/1757138#M719290</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128627"&gt;@Nocto&lt;/a&gt;&amp;nbsp; what you are trying achieve? Can you please elaborate?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 17:17:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Making-two-Applymap-function-in-one-syntax/m-p/1757138#M719290</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-29T17:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Making two Applymap function in one syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Making-two-Applymap-function-in-one-syntax/m-p/1757139#M719291</link>
      <description>&lt;P&gt;I want like this in the Picture that the month and the Month before are in two different Fields&lt;/P&gt;&lt;P&gt;So AZK actual Month and AZK 100% is the Month before.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 17:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Making-two-Applymap-function-in-one-syntax/m-p/1757139#M719291</guid>
      <dc:creator>Nocto</dc:creator>
      <dc:date>2020-10-29T17:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Making two Applymap function in one syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Making-two-Applymap-function-in-one-syntax/m-p/1757151#M719292</link>
      <description>&lt;P&gt;It's certainly possible, however you have to really be mindful of the key you're trying to produce in the mapping table. I got it working like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stammdaten:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Key, Monat, Name, PersonalNR, AZK&lt;BR /&gt;Mark_Bremen_Willhelm_karmann_2020_01, 1, Mark, 1, 40&lt;BR /&gt;Mark_Bremen_Willhelm_karmann_2020_02, 2, Mark, 1, 40&lt;BR /&gt;Mark_Bremen_Willhelm_karmann_2020_03, 3, Mark, 1, 42&lt;BR /&gt;Mark_Bremen_Willhelm_karmann_2020_04, 4, Mark, 1, 36&lt;BR /&gt;Mark_Bremen_Willhelm_karmann_2020_05, 5, Mark, 1, 35&lt;BR /&gt;Paul_Bremen_Willhelm_karmann_2020_01, 1, Paul, 2, 40&lt;BR /&gt;Paul_Bremen_Willhelm_karmann_2020_02, 2, Paul, 2, 36&lt;BR /&gt;Paul_Bremen_Willhelm_karmann_2020_03, 3, Paul, 2, 35&lt;BR /&gt;Paul_Bremen_Willhelm_karmann_2020_04, 4, Paul, 2, 45&lt;BR /&gt;Paul_Bremen_Willhelm_karmann_2020_05, 5, Paul, 2, 20&lt;BR /&gt;Karin_Bremen_Willhelm_karmann_2020_01, 1, Karin, 3, 40&lt;BR /&gt;Karin_Bremen_Willhelm_karmann_2020_02, 2, Karin, 3, 45&lt;BR /&gt;Karin_Bremen_Willhelm_karmann_2020_03, 3, Karin, 3, 42&lt;BR /&gt;Karin_Bremen_Willhelm_karmann_2020_04, 4, Karin, 3, 43&lt;BR /&gt;Karin_Bremen_Willhelm_karmann_2020_05, 5, Karin, 3, 38&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;[Map_Vormonat_primary]:&lt;BR /&gt;mapping&lt;BR /&gt;load&lt;BR /&gt;if(right(Key,2)='01',left(Key,LEN(Key)-2)&amp;amp;'02',&lt;BR /&gt;if(right(Key,2)='02',left(Key,LEN(Key)-2)&amp;amp;'03',&lt;BR /&gt;if(right(Key,2)='03',left(Key,LEN(Key)-2)&amp;amp;'04',&lt;BR /&gt;if(right(Key,2)='04',left(Key,LEN(Key)-2)&amp;amp;'05',&lt;BR /&gt;if(right(Key,2)='05',left(Key,LEN(Key)-2)&amp;amp;'06',&lt;BR /&gt;if(right(Key,2)='06',left(Key,LEN(Key)-2)&amp;amp;'07',&lt;BR /&gt;if(right(Key,2)='07',left(Key,LEN(Key)-2)&amp;amp;'08',&lt;BR /&gt;if(right(Key,2)='08',left(Key,LEN(Key)-2)&amp;amp;'09',&lt;BR /&gt;if(right(Key,2)='09',left(Key,LEN(Key)-2)&amp;amp;'10',&lt;BR /&gt;if(right(Key,2)='10',left(Key,LEN(Key)-2)&amp;amp;'11',&lt;BR /&gt;if(right(Key,2)='11',left(Key,LEN(Key)-2)&amp;amp;'12',&lt;BR /&gt;if(right(Key,2)='12',left(Key,LEN(Key)-5)&amp;amp;((mid(Key,LEN(Key)-4,2))+1)&amp;amp;'_01'&lt;BR /&gt;)))))))))))) AS KeyVormonat,&lt;BR /&gt;AZK AS AZK_Temp&lt;BR /&gt;Resident Stammdaten&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;temp_MA_Infos:&lt;BR /&gt;NoConcatenate load *&lt;BR /&gt;,applymap('Map_Vormonat_primary',Key,0) as [AZK 100 % Vormonat]&lt;BR /&gt;resident Stammdaten&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;drop table Stammdaten;&lt;BR /&gt;rename table temp_MA_Infos to Stammdanten;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because you already had the monthnumber included in the key, you have to do some text magic:)&lt;/P&gt;&lt;P&gt;This will also work across years. For this situation you really don't need more than one mapping table.&lt;/P&gt;&lt;P&gt;Other valid alternatives would be the previous() function and a join.&lt;/P&gt;&lt;P&gt;see this article on the previous function&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/September2020/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Previous.htm#:~:text=Previous()%20finds%20the%20value,the%20function%20will%20return%20NULL%20.&amp;amp;text=The%20expression%20or%20field%20containing%20the%20data%20to%20be%20measured" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense/September2020/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Previous.htm#:~:text=Previous()%20finds%20the%20value,the%20function%20will%20return%20NULL%20.&amp;amp;text=The%20expression%20or%20field%20containing%20the%20data%20to%20be%20measured&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;you would use the Previous funcion like so:&lt;/P&gt;&lt;P&gt;Stammdaten:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Key, Monat, Name, PersonalNR, AZK&lt;BR /&gt;Mark_Bremen_Willhelm_karmann_2020_01, 1, Mark, 1, 40&lt;BR /&gt;Mark_Bremen_Willhelm_karmann_2020_02, 2, Mark, 1, 40&lt;BR /&gt;Mark_Bremen_Willhelm_karmann_2020_03, 3, Mark, 1, 42&lt;BR /&gt;Mark_Bremen_Willhelm_karmann_2020_04, 4, Mark, 1, 36&lt;BR /&gt;Mark_Bremen_Willhelm_karmann_2020_05, 5, Mark, 1, 35&lt;BR /&gt;Paul_Bremen_Willhelm_karmann_2020_01, 1, Paul, 2, 40&lt;BR /&gt;Paul_Bremen_Willhelm_karmann_2020_02, 2, Paul, 2, 36&lt;BR /&gt;Paul_Bremen_Willhelm_karmann_2020_03, 3, Paul, 2, 35&lt;BR /&gt;Paul_Bremen_Willhelm_karmann_2020_04, 4, Paul, 2, 45&lt;BR /&gt;Paul_Bremen_Willhelm_karmann_2020_05, 5, Paul, 2, 20&lt;BR /&gt;Karin_Bremen_Willhelm_karmann_2020_01, 1, Karin, 3, 40&lt;BR /&gt;Karin_Bremen_Willhelm_karmann_2020_02, 2, Karin, 3, 45&lt;BR /&gt;Karin_Bremen_Willhelm_karmann_2020_03, 3, Karin, 3, 42&lt;BR /&gt;Karin_Bremen_Willhelm_karmann_2020_04, 4, Karin, 3, 43&lt;BR /&gt;Karin_Bremen_Willhelm_karmann_2020_05, 5, Karin, 3, 38&lt;BR /&gt;];&lt;BR /&gt;temp_MA_Infos2:&lt;BR /&gt;NoConcatenate load *&lt;BR /&gt;,if(previous(Name)=Name,previous(AZK),0) as [AZK 100 % Vormonat]&lt;BR /&gt;resident Stammdaten&lt;BR /&gt;order by Key asc;&lt;/P&gt;&lt;P&gt;drop table Stammdaten;&lt;BR /&gt;rename table temp_MA_Infos2 to Stammdaten;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of using Applymap, you could simply join the mapping table onto the original table, like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;left join (Stammdaten)&lt;BR /&gt;&lt;BR /&gt;load&lt;BR /&gt;if(right(Key,2)='01',left(Key,LEN(Key)-2)&amp;amp;'02',&lt;BR /&gt;if(right(Key,2)='02',left(Key,LEN(Key)-2)&amp;amp;'03',&lt;BR /&gt;if(right(Key,2)='03',left(Key,LEN(Key)-2)&amp;amp;'04',&lt;BR /&gt;if(right(Key,2)='04',left(Key,LEN(Key)-2)&amp;amp;'05',&lt;BR /&gt;if(right(Key,2)='05',left(Key,LEN(Key)-2)&amp;amp;'06',&lt;BR /&gt;if(right(Key,2)='06',left(Key,LEN(Key)-2)&amp;amp;'07',&lt;BR /&gt;if(right(Key,2)='07',left(Key,LEN(Key)-2)&amp;amp;'08',&lt;BR /&gt;if(right(Key,2)='08',left(Key,LEN(Key)-2)&amp;amp;'09',&lt;BR /&gt;if(right(Key,2)='09',left(Key,LEN(Key)-2)&amp;amp;'10',&lt;BR /&gt;if(right(Key,2)='10',left(Key,LEN(Key)-2)&amp;amp;'11',&lt;BR /&gt;if(right(Key,2)='11',left(Key,LEN(Key)-2)&amp;amp;'12',&lt;BR /&gt;if(right(Key,2)='12',left(Key,LEN(Key)-5)&amp;amp;((mid(Key,LEN(Key)-4,2))+1)&amp;amp;'_01'&lt;BR /&gt;)))))))))))) AS Key,&lt;BR /&gt;AZK AS [AZK 100 % Vormonat]&lt;BR /&gt;Resident Stammdaten&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 19:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Making-two-Applymap-function-in-one-syntax/m-p/1757151#M719292</guid>
      <dc:creator>Martijn_W</dc:creator>
      <dc:date>2020-10-29T19:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Making two Applymap function in one syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Making-two-Applymap-function-in-one-syntax/m-p/1757205#M719293</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128627"&gt;@Nocto&lt;/a&gt;&amp;nbsp; may be this&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Stammdaten:
LOAD * INLINE [
    KEY, Monat, Name, PersonalNR, AZK
    Mark_Bremen_Willhelm_karmann_2020_01, 1, Mark, 1, 40
    Mark_Bremen_Willhelm_karmann_2020_02, 2, Mark, 1, 40
    Mark_Bremen_Willhelm_karmann_2020_03, 3, Mark, 1, 42
    Mark_Bremen_Willhelm_karmann_2020_04, 4, Mark, 1, 36
    Mark_Bremen_Willhelm_karmann_2020_05, 5, Mark, 1, 35
    Paul_Bremen_Willhelm_karmann_2020_01, 1, Paul, 2, 40
    Paul_Bremen_Willhelm_karmann_2020_02, 2, Paul, 2, 36
    Paul_Bremen_Willhelm_karmann_2020_03, 3, Paul, 2, 35
    Paul_Bremen_Willhelm_karmann_2020_04, 4, Paul, 2, 45
    Paul_Bremen_Willhelm_karmann_2020_05, 5, Paul, 2, 20
    Karin_Bremen_Willhelm_karmann_2020_01, 1, Karin, 3, 40
    Karin_Bremen_Willhelm_karmann_2020_02, 2, Karin, 3, 45
    Karin_Bremen_Willhelm_karmann_2020_03, 3, Karin, 3, 42
    Karin_Bremen_Willhelm_karmann_2020_04, 4, Karin, 3, 43
    Karin_Bremen_Willhelm_karmann_2020_05, 5, Karin, 3, 38
];

Final:
LOAD *,
     if(Monat=1,0,Previous(AZK)) as [AZK 100 % Vormonat]
Resident Stammdaten
Order by KEY,Monat;

DROP Table Stammdaten;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 22:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Making-two-Applymap-function-in-one-syntax/m-p/1757205#M719293</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-29T22:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Making two Applymap function in one syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Making-two-Applymap-function-in-one-syntax/m-p/1757292#M719294</link>
      <description>&lt;P&gt;Exactly.&lt;/P&gt;&lt;P&gt;Although, looking at it, that way you can't use it across years and you would have possible contamination if Paul only worked in February for instance. I think you have to use a qualifier to make sure the previous row pertains to the same person.&lt;/P&gt;&lt;P&gt;Out of all the options, Previous() is the best one, though.&lt;/P&gt;&lt;P&gt;Ideally, the data should have a unique identifier for every unique person, that way you can be 100% sure there won't be any weirdness when somebody with the same name shows up in the Data.&lt;/P&gt;&lt;P&gt;You could then use previous like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NoConcatenate load *&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;,if(previous(&amp;lt;UniqueIdentifier&amp;gt;)=&amp;lt;UniqueIdentifier&amp;gt;,previous(AZK),0) as [AZK 100 % Vormonat]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;resident Stammdaten&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;order by KEY, Monat;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 10:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Making-two-Applymap-function-in-one-syntax/m-p/1757292#M719294</guid>
      <dc:creator>Martijn_W</dc:creator>
      <dc:date>2020-10-30T10:35:34Z</dc:date>
    </item>
  </channel>
</rss>

