<?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: Issue with if Match function in Straight Table Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-if-Match-function-in-Straight-Table-Dimension/m-p/111847#M17407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad you got it working! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2018 19:39:33 GMT</pubDate>
    <dc:creator>wdchristensen</dc:creator>
    <dc:date>2018-08-22T19:39:33Z</dc:date>
    <item>
      <title>Issue with if Match function in Straight Table Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-if-Match-function-in-Straight-Table-Dimension/m-p/111844#M17404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;Hello,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #000000; font-style: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have an Issue with the If Match function, I have a field called Last_Ping_Status and&amp;nbsp; the values are 1 DAY, 2 DAYS, 3 DAYS.....60 DAYS, OVER 60 DAYS and UNKNOWN from this I was trying to display first 7 DAYS (1 DAY, 2 DAYS...7 DAYS) and for that I am using below expression in my Straight Table dimension.&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #000000; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #000000;"&gt;=if(match(Last_Ping_Status,'1 DAY','2 DAYS','3 DAYS','4 DAYS','5 DAYS','6 DAYS','7 DAYS'),Last_Ping_Status)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #000000;"&gt;The above expression is not giving any error but I am not getting anything in the table see below. &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;I have tried with some sample data in another test qvw but the same if match condition is working there not sure why it is not working in my actual qvw and i have tried with wildmatch as well.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG alt="Capture3.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211540_Capture3.PNG" style="height: 114px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 15:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-if-Match-function-in-Straight-Table-Dimension/m-p/111844#M17404</guid>
      <dc:creator>AC</dc:creator>
      <dc:date>2018-08-22T15:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with if Match function in Straight Table Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-if-Match-function-in-Straight-Table-Dimension/m-p/111845#M17405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps the values of "&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG&gt;Last_Ping_Status" &lt;/STRONG&gt;&lt;/SPAN&gt;are not exactly the same as your match condition. The case could be off or leading or trailing spaces. Might try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG&gt;if(match(TRIM(UPPER(Last_Ping_Status)),'1 DAY','2 DAYS','3 DAYS','4 DAYS','5 DAYS','6 DAYS','7 DAYS'),Last_Ping_Status) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If the above upper and trim didn't fix the issue, might try the below and examine the output. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(match(TRIM(UPPER(Last_Ping_Status)),'1 DAY','2 DAYS','3 DAYS','4 DAYS','5 DAYS','6 DAYS','7 DAYS'),Last_Ping_Status, '-' &amp;amp; Last_Ping_Status '-' &amp;amp; ' This should not include values between 1 and 7 days.')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Can you please post your load script? I have the free version of QlikView and can't open the QVF since I am not the creator. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 18:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-if-Match-function-in-Straight-Table-Dimension/m-p/111845#M17405</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-08-22T18:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with if Match function in Straight Table Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-if-Match-function-in-Straight-Table-Dimension/m-p/111846#M17406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you William, this is working perfectly but why the same working in my sample file with simple if match, in the sample file also i have different values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 19:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-if-Match-function-in-Straight-Table-Dimension/m-p/111846#M17406</guid>
      <dc:creator>AC</dc:creator>
      <dc:date>2018-08-22T19:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with if Match function in Straight Table Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-if-Match-function-in-Straight-Table-Dimension/m-p/111847#M17407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad you got it working! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 19:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-if-Match-function-in-Straight-Table-Dimension/m-p/111847#M17407</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-08-22T19:39:33Z</dc:date>
    </item>
  </channel>
</rss>

