<?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: Query help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Query-help/m-p/565329#M680875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If case statement is not working then please use wildmatch() instead of case and also refer this link &lt;A _jive_internal="true" href="https://community.qlik.com/thread/53601"&gt;http://community.qlik.com/thread/53601&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Apr 2014 11:00:30 GMT</pubDate>
    <dc:creator>vijetas42</dc:creator>
    <dc:date>2014-04-11T11:00:30Z</dc:date>
    <item>
      <title>Query help</title>
      <link>https://community.qlik.com/t5/QlikView/Query-help/m-p/565325#M680871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just need help in Query..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select tin,saleschannel,bookingsource,userid,seats,value,&lt;/P&gt;&lt;P&gt;case&lt;/P&gt;&lt;P&gt;when saleschannel='Online' and (userid is null&amp;nbsp; or userid not like '%RB:MOBILE%')&amp;nbsp; then 'ONLINE WEB SALES'&lt;/P&gt;&lt;P&gt;when saleschannel=online and userid like '%RB:MOBILE%' then 'MOBILE'&lt;/P&gt;&lt;P&gt;when userid like '%RB:MOBILE%'&amp;nbsp; and userid not in ('RB:MOBILEWINDOWASAPP','RB:MOBILEADRIODAPP')&amp;nbsp; then 'WAP SALES'&lt;/P&gt;&lt;P&gt;when userid like '%RB:MOBILE%'&amp;nbsp; and userid in ('RB:MOBILEWINDOWASAPP','RB:MOBILEADRIODAPP')&amp;nbsp; then&amp;nbsp; 'APP SALES'&lt;/P&gt;&lt;P&gt;when saleschannel='corporate' and bookingsource='corporate' then 'offline agents'&lt;/P&gt;&lt;P&gt;when saleschannel='Corporate' and bookingsource='webdirect' then 'other offline agents'&lt;/P&gt;&lt;P&gt;end as channel&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;from temp_fact &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i write this Query in Qlik view &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kalyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 10:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-help/m-p/565325#M680871</guid>
      <dc:creator />
      <dc:date>2014-04-11T10:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Query help</title>
      <link>https://community.qlik.com/t5/QlikView/Query-help/m-p/565326#M680872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As in a Loadscript?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 10:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-help/m-p/565326#M680872</guid>
      <dc:creator>ThornOfCrowns</dc:creator>
      <dc:date>2014-04-11T10:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Query help</title>
      <link>https://community.qlik.com/t5/QlikView/Query-help/m-p/565327#M680873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;problem in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;writing for the below lines &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;case&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;when saleschannel='Online' and (userid is null&amp;nbsp; or userid not like '%RB:MOBILE%')&amp;nbsp; then 'ONLINE WEB SALES'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;when saleschannel=online and userid like '%RB:MOBILE%' then 'MOBILE'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;when userid like '%RB:MOBILE%'&amp;nbsp; and userid not in ('RB:MOBILEWINDOWASAPP','RB:MOBILEADRIODAPP')&amp;nbsp; then 'WAP SALES'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;when userid like '%RB:MOBILE%'&amp;nbsp; and userid in ('RB:MOBILEWINDOWASAPP','RB:MOBILEADRIODAPP')&amp;nbsp; then&amp;nbsp; 'APP SALES'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;when saleschannel='corporate' and bookingsource='corporate' then 'offline agents'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;when saleschannel='Corporate' and bookingsource='webdirect' then 'other offline agents'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;end as channel&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;i think case and is null or not in functions will not work .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 10:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-help/m-p/565327#M680873</guid>
      <dc:creator />
      <dc:date>2014-04-11T10:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Query help</title>
      <link>https://community.qlik.com/t5/QlikView/Query-help/m-p/565328#M680874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After your database connection string you can write down same query as it is after that in edit script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 10:56:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-help/m-p/565328#M680874</guid>
      <dc:creator>vijetas42</dc:creator>
      <dc:date>2014-04-11T10:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Query help</title>
      <link>https://community.qlik.com/t5/QlikView/Query-help/m-p/565329#M680875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If case statement is not working then please use wildmatch() instead of case and also refer this link &lt;A _jive_internal="true" href="https://community.qlik.com/thread/53601"&gt;http://community.qlik.com/thread/53601&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 11:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-help/m-p/565329#M680875</guid>
      <dc:creator>vijetas42</dc:creator>
      <dc:date>2014-04-11T11:00:30Z</dc:date>
    </item>
  </channel>
</rss>

