<?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: comparing Field Values in an if statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509363#M600376</link>
    <description>Sorry .i want to compare field values and then perform my measure based on field value .Not the count</description>
    <pubDate>Mon, 19 Nov 2018 21:37:25 GMT</pubDate>
    <dc:creator>naveen341</dc:creator>
    <dc:date>2018-11-19T21:37:25Z</dc:date>
    <item>
      <title>comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509340#M600372</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I Have a field&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tickers :&lt;/P&gt;&lt;P&gt;AAA&lt;/P&gt;&lt;P&gt;ACB&lt;/P&gt;&lt;P&gt;BCG&lt;/P&gt;&lt;P&gt;CDG&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suppose if a user select particular tickets lets say AAA i want to perform the measure like sum({&amp;lt;Ticker={'AAA'}&amp;gt;}Sales).&lt;/P&gt;&lt;P&gt;this would be in a qliksense line chart&lt;/P&gt;&lt;P&gt;If a user says more than one field values i am expecting multiple line in the line chart how can this be acheived?&lt;/P&gt;&lt;P&gt;I Am looking for if condition like getfieldselection(Ticker).But if multiple selected in differnet order this is not working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509340#M600372</guid>
      <dc:creator>naveen341</dc:creator>
      <dc:date>2024-11-16T05:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509350#M600373</link>
      <description>&lt;P&gt;as i understand you want the individual ticker line only if a ticker is selected. Else you show just the total line. Is that right?&lt;BR /&gt;if so Why dont you add ticker as a dimension? and Enable it conditionally e.g. GetSelectedCount(Ticker)&amp;gt;0&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 21:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509350#M600373</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-11-19T21:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509353#M600374</link>
      <description>I Am trying to do it in Qliksense using an extenison where i dont have a conditional dimenison.&lt;BR /&gt;So i would like to write an if condition and put the measure value,&lt;BR /&gt;getfield values(Ticker)=AAA,ACB&lt;BR /&gt;BUt how can i implement if condition for measure</description>
      <pubDate>Mon, 19 Nov 2018 21:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509353#M600374</guid>
      <dc:creator>naveen341</dc:creator>
      <dc:date>2018-11-19T21:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509355#M600375</link>
      <description>&lt;P&gt;Ah.. i just saw the qlik sense part. You posted on the qlikview forums hence the confusion.&lt;BR /&gt;&lt;BR /&gt;May not be a perfect solution but below should work&lt;BR /&gt;add dimension&lt;BR /&gt;=If(GetSelectedCount(Ticker)&amp;gt;0,&lt;SPAN&gt;Ticker&lt;/SPAN&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 21:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509355#M600375</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-11-19T21:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509363#M600376</link>
      <description>Sorry .i want to compare field values and then perform my measure based on field value .Not the count</description>
      <pubDate>Mon, 19 Nov 2018 21:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509363#M600376</guid>
      <dc:creator>naveen341</dc:creator>
      <dc:date>2018-11-19T21:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509366#M600378</link>
      <description>What do you mean by not count? I am not displaying count&lt;BR /&gt;The calculated dimension I mentioned will be enabled only if 1 or more ticker is selected. I.e. you will get lines for those tickers on your chart.</description>
      <pubDate>Mon, 19 Nov 2018 21:45:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509366#M600378</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-11-19T21:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509370#M600379</link>
      <description>Each ticker has different Measure.&lt;BR /&gt;if(Getfieldvalue(Ticker)='ABC',min(Sales),Null),&lt;BR /&gt;If multiple field values are selected how can i write the above if condition.&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Nov 2018 21:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509370#M600379</guid>
      <dc:creator>naveen341</dc:creator>
      <dc:date>2018-11-19T21:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509374#M600380</link>
      <description>Ok. So you are not displaying same measure for different tickers.i.e. e.g. for ticker abc it maybe count and got ticker xyz it maybe sum.&lt;BR /&gt;Did I get that right?&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Nov 2018 22:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509374#M600380</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-11-19T22:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509376#M600381</link>
      <description>yes</description>
      <pubDate>Mon, 19 Nov 2018 22:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509376#M600381</guid>
      <dc:creator>naveen341</dc:creator>
      <dc:date>2018-11-19T22:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509377#M600382</link>
      <description>In that case of the top of my head.&lt;BR /&gt;you maybe able to use concat(ticker) to get the full list of possible values for ticker and use string functions to check if e.g. and exists there. And use get selected count to ensure at least 1 is selected&lt;BR /&gt;&lt;BR /&gt;Replying from phone so forgive typos</description>
      <pubDate>Mon, 19 Nov 2018 22:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509377#M600382</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-11-19T22:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509378#M600383</link>
      <description>Basically something like.&lt;BR /&gt;If(getselectedcount(ticker)&amp;gt;0 and&lt;BR /&gt;SubStringCount(concat(ticker,'-'),'abc')&amp;gt;0&lt;BR /&gt;, Expression-for-abc)</description>
      <pubDate>Mon, 19 Nov 2018 22:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509378#M600383</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-11-19T22:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509808#M600384</link>
      <description>Nope its not working.&lt;BR /&gt;Here is the screen shot like if multiple values are selected how will i check in if condition.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Nov 2018 14:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509808#M600384</guid>
      <dc:creator>naveen341</dc:creator>
      <dc:date>2018-11-20T14:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509814#M600385</link>
      <description>Atleast screen shot to original thread.Capture.pNG</description>
      <pubDate>Tue, 20 Nov 2018 14:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509814#M600385</guid>
      <dc:creator>naveen341</dc:creator>
      <dc:date>2018-11-20T14:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509824#M600386</link>
      <description>&lt;P&gt;You are doing a wild match get field selections.&lt;/P&gt;&lt;P&gt;I would do wildmatch on the output of concat function&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 14:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509824#M600386</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-11-20T14:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: comparing Field Values in an if statement</title>
      <link>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509924#M600387</link>
      <description>Basically create multiple meaures each with the condition for ticker and appropriate measure</description>
      <pubDate>Tue, 20 Nov 2018 16:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/comparing-Field-Values-in-an-if-statement/m-p/1509924#M600387</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-11-20T16:43:03Z</dc:date>
    </item>
  </channel>
</rss>

