<?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: How to convert excel formula in Qlik sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-convert-excel-formula-in-Qlik-sense/m-p/1930970#M76706</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/178253"&gt;@gp_123&lt;/a&gt;&amp;nbsp; can you elaborate more the excel formula ?&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2022 10:20:00 GMT</pubDate>
    <dc:creator>Taoufiq_Zarra</dc:creator>
    <dc:date>2022-05-16T10:20:00Z</dc:date>
    <item>
      <title>How to convert excel formula in Qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-convert-excel-formula-in-Qlik-sense/m-p/1930955#M76705</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am stuck at one of the excel formula. I want to calculate "Org.Unit" field which has excel formula as "IF([@[Concat Task]]=R6,X6+1,1)".&lt;/P&gt;
&lt;P&gt;For eg,&lt;BR /&gt;Concat_Task&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Org.unit&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;TABLE width="274px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="234.062px" height="25px"&gt;TS90000168000000000000072929&lt;/TD&gt;
&lt;TD width="40px"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="234.062px" height="25px"&gt;TS90000168000000000000072929&lt;/TD&gt;
&lt;TD width="40px"&gt;2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="234.062px" height="25px"&gt;TS90000168000000000000072929&lt;/TD&gt;
&lt;TD width="40px"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="234.062px" height="25px"&gt;TS90000168000000000000072929&lt;/TD&gt;
&lt;TD width="40px"&gt;4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="234.062px" height="25px"&gt;TS90000168000000000000072929&lt;/TD&gt;
&lt;TD width="40px"&gt;5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="234.062px" height="25px"&gt;TS90000168000000000000073305&lt;/TD&gt;
&lt;TD width="40px"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;BR /&gt;Is anyone having idea how to Create this excel formula in qlik. &lt;BR /&gt;I am providing sample data for the same. Please help me to solve this problem.&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 10:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-convert-excel-formula-in-Qlik-sense/m-p/1930955#M76705</guid>
      <dc:creator>gp_123</dc:creator>
      <dc:date>2022-05-16T10:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert excel formula in Qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-convert-excel-formula-in-Qlik-sense/m-p/1930970#M76706</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/178253"&gt;@gp_123&lt;/a&gt;&amp;nbsp; can you elaborate more the excel formula ?&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 10:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-convert-excel-formula-in-Qlik-sense/m-p/1930970#M76706</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2022-05-16T10:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert excel formula in Qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-convert-excel-formula-in-Qlik-sense/m-p/1930981#M76707</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My proposal is that you calculate the Org.Unit field in the load script (background).&lt;/P&gt;
&lt;P&gt;You should use the peek() function to compare with the previous value, making sure you have your table ordered by Concat Task field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See solution bellow (loading your excel file):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;
Open_WF:
LOAD
    Workflow,
    "Range Request #",
    "Workflow Created By",
    Workitem,
    "Workitem Status",
    "WF Opening Date",
    "TS Opening Date",
    "WI Selected",
    "WI Task",
    "WF Form",
    AGI,
    "Class",
    Plant,
    User,
    "Last Name",
    "First Name",
    "WI Text",
    "Concat Task",
    "Responsible for the task",
    Area,
    "Pending For",
    "Red",
    "Green"
FROM [lib://SOURCE FILES/00_General/Open WF.xlsx]
(ooxml, embedded labels, table is Sheet1);




NoConcatenate
Final_Open_WF:
LOAD *,
	if(Peek("Concat Task")="Concat Task",peek(Org.unit)+1,1) as Org.unit /*Simulate a row ID, to count the position of each string grouped by Key, it's very important to keep the order by Key*/

Resident Open_WF

Order by "Concat Task";


DROP Table Open_WF;
Exit script;


&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Hugo Romeira&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 10:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-convert-excel-formula-in-Qlik-sense/m-p/1930981#M76707</guid>
      <dc:creator>HugoRomeira_PT</dc:creator>
      <dc:date>2022-05-16T10:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert excel formula in Qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-convert-excel-formula-in-Qlik-sense/m-p/1930995#M76709</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This is what exactly I am Looking for.&lt;BR /&gt;Thanks&amp;nbsp;&amp;nbsp;Romeira(@&lt;A id="link_22" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.qlik.com/t5/user/viewprofilepage/user-id/179363" target="_self" aria-label="View Profile of HugoRomeira_PT" aria-describedby="userProfileCard-179363"&gt;&lt;SPAN class=""&gt;HugoRomeira_PT&lt;/SPAN&gt;&lt;/A&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 10:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-convert-excel-formula-in-Qlik-sense/m-p/1930995#M76709</guid>
      <dc:creator>gp_123</dc:creator>
      <dc:date>2022-05-16T10:51:39Z</dc:date>
    </item>
  </channel>
</rss>

