<?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: Qliksense table fields values equal, positive, negative in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669962#M50608</link>
    <description>&lt;P&gt;Sorry, its not 3000 , its 30000 thanks for your response&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 10:09:26 GMT</pubDate>
    <dc:creator>Naresh1</dc:creator>
    <dc:date>2020-01-28T10:09:26Z</dc:date>
    <item>
      <title>Qliksense table fields values equal, positive, negative</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669864#M50596</link>
      <description>&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I&amp;nbsp; have three fields in qliksense table in those three fields names are voucher type, original amount, outstanding amount,&lt;/P&gt;&lt;P&gt;outstanding amount and original amount fields having some common values negative, positive and equal values&lt;/P&gt;&lt;P&gt;they given 4 conditions for these&lt;/P&gt;&lt;P&gt;1. original amount = outstanding amount (positive amount), voucher type other than payment&lt;/P&gt;&lt;P&gt;2.outstanding amount less than original amount (positive amount)&lt;/P&gt;&lt;P&gt;3. original amount = outstanding amount (positive amount), voucher type payment&lt;/P&gt;&lt;P&gt;4. outstanding amount greater than or equal to original amount (negative amount)&lt;/P&gt;&lt;P&gt;all these conditions i want to show&amp;nbsp; in qliksense table&amp;nbsp;&lt;/P&gt;&lt;P&gt;previously i am posted few questions, i got answers from them with in day&amp;nbsp;&lt;/P&gt;&lt;P&gt;but this one question, i dont get any answer,is it possible?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-panel lia-panel-standard MessageTagsTaplet Chrome lia-component-message-view-widget-tags"&gt;&lt;DIV class="lia-decoration-border"&gt;&lt;DIV class="lia-decoration-border-top"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-decoration-border-content"&gt;&lt;DIV&gt;&lt;DIV class="lia-panel-content-wrapper"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Jan 2020 06:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669864#M50596</guid>
      <dc:creator>Naresh1</dc:creator>
      <dc:date>2020-01-28T06:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense table fields values equal, positive, negative</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669897#M50601</link>
      <description>&lt;P&gt;I found it hard to understand all your definition without a sample and a desired output, but I'm guessing that the correct expression for no 1. is the following.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Sum({&amp;lt;[voucher type]={"= [voucher type]&amp;lt;&amp;gt; 'Payment'"}&amp;gt;}[original amount])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you create a sample similar to this and also what's the desired output for the four expression on that dataset? It will make it easier to help you with the rest.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sample:
LOAD * inline [
 Voucher type, 	Original amount,Outstanding amount
 Payment, 		1000,			1000
 Credit, 		-3000, 			0
 Bank , 		-3000, 			-1000
 ];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 07:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669897#M50601</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-01-28T07:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense table fields values equal, positive, negative</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669905#M50602</link>
      <description>&lt;P&gt;Please see the below sample excel table&lt;/P&gt;&lt;P&gt;Same This&amp;nbsp; table i want to load in Qliksense&lt;/P&gt;&lt;P&gt;And also given conditions order wise how the values should come&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 08:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669905#M50602</guid>
      <dc:creator>Naresh1</dc:creator>
      <dc:date>2020-01-28T08:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense table fields values equal, positive, negative</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669931#M50603</link>
      <description>&lt;P&gt;I did not really understand your excel either, I tried to restructure it? Is it correct? Please adjust and add info on what you are expecting for output.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 08:56:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669931#M50603</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-01-28T08:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense table fields values equal, positive, negative</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669949#M50606</link>
      <description>&lt;P&gt;see the below excel table&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 09:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669949#M50606</guid>
      <dc:creator>Naresh1</dc:creator>
      <dc:date>2020-01-28T09:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense table fields values equal, positive, negative</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669959#M50607</link>
      <description>&lt;P&gt;Take a look at my output and expression below. Notice the colored line that do get any classification as it does not meet&amp;nbsp; any condition&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/27547i297DB579BDB36335/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;DATA:
LOAD *,
IF(
	[voucher type] = 'other than payment' and [original amount]=[outstanding amount] AND [original amount]&amp;gt;=0,
	1,
	IF(	[voucher type] = 'payment' and [original amount]=[outstanding amount] AND [original amount]&amp;gt;=0, 
		4,
		IF(	[original amount]&amp;gt;=[outstanding amount]  AND [original amount]&amp;lt;0,
			3,
			IF(	[original amount]&amp;gt;[outstanding amount]  AND [original amount]&amp;gt;=0,
				2,
				0
			)
		)
	)
) as Class;
LOAD * inline [
voucher type	original amount	outstanding amount	Condition?
other than payment	20000	20000	1. original amount = outstanding amount (positive amount), voucher type other than payment
other than payment	10	10	1. original amount = outstanding amount (positive amount), voucher type other than payment
						
payment	3000	24000	2.outstanding amount less than original amount (positive amount)
payment	2300	2100	2.outstanding amount less than original amount (positive amount)
						
payment 	-890	-890	3. outstanding amount greater than or equal to original amount (negative amount)
other payment	-200	-300	3. outstanding amount greater than or equal to original amount (negative amount)
						
payment	600	600	4. original amount = outstanding amount (positive amount), voucher type  payment
payment	7800	7800	4. original amount = outstanding amount (positive amount), voucher type payment

] (delimiter is '	');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 10:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669959#M50607</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-01-28T10:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense table fields values equal, positive, negative</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669962#M50608</link>
      <description>&lt;P&gt;Sorry, its not 3000 , its 30000 thanks for your response&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 10:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1669962#M50608</guid>
      <dc:creator>Naresh1</dc:creator>
      <dc:date>2020-01-28T10:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Qliksense table fields values equal, positive, negative</title>
      <link>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1670283#M50647</link>
      <description>&lt;P&gt;Hi Vegar,&lt;/P&gt;&lt;P&gt;I am loaded base table in database to qliksense, i want output exactly like in below excel table to&amp;nbsp; qliksense table&lt;/P&gt;&lt;P&gt;in base table having all fields like excel,&lt;/P&gt;&lt;P&gt;but i dont need conditional field in qliksense&lt;/P&gt;&lt;P&gt;i want only that conditions should apply to this fields only&amp;nbsp; 'original amount', 'outstanding amount', 'voucher type'&lt;/P&gt;&lt;P&gt;in voucher type having credit, debit, voucher, receipts, other payment&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 05:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qliksense-table-fields-values-equal-positive-negative/m-p/1670283#M50647</guid>
      <dc:creator>Naresh1</dc:creator>
      <dc:date>2020-01-29T05:28:15Z</dc:date>
    </item>
  </channel>
</rss>

