<?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 Legend wrong in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370218#M418882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to display in a Bar Cart the total number of the tickets for the last 30 days.I have a field named Severity where I have something like this Severity = S1, S2, S3, S4, S5,etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display only the data for the last 30 days for a specific customer and I want to display the days without tickets too.&lt;/P&gt;&lt;P&gt;like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions :&lt;/P&gt;&lt;P&gt;Day&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;= IF( Customer LIKE 'xxx', Severity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;count({&amp;lt; Date = {"&amp;lt;=$(=DATE(MAX(Date)))&amp;gt;=$(=DATE(MAX(Date)-30))"}&amp;gt;}TICKETID)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;sum(1) I use this to display all the dates with no data so this is blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I the below chart the data is selected ok only the problem is with the legend&amp;nbsp; because I can see all the Severities, there suppose to be just the severities for the last 30 days but in may example are all for example S1 which is from 2 months ago.&lt;/P&gt;&lt;P&gt;Could someone please advise ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="172799" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172799_Capture.PNG" style="height: 271px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Aug 2017 13:19:34 GMT</pubDate>
    <dc:creator>0li5a3a</dc:creator>
    <dc:date>2017-08-08T13:19:34Z</dc:date>
    <item>
      <title>Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370218#M418882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to display in a Bar Cart the total number of the tickets for the last 30 days.I have a field named Severity where I have something like this Severity = S1, S2, S3, S4, S5,etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display only the data for the last 30 days for a specific customer and I want to display the days without tickets too.&lt;/P&gt;&lt;P&gt;like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions :&lt;/P&gt;&lt;P&gt;Day&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;= IF( Customer LIKE 'xxx', Severity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;count({&amp;lt; Date = {"&amp;lt;=$(=DATE(MAX(Date)))&amp;gt;=$(=DATE(MAX(Date)-30))"}&amp;gt;}TICKETID)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;sum(1) I use this to display all the dates with no data so this is blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I the below chart the data is selected ok only the problem is with the legend&amp;nbsp; because I can see all the Severities, there suppose to be just the severities for the last 30 days but in may example are all for example S1 which is from 2 months ago.&lt;/P&gt;&lt;P&gt;Could someone please advise ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="172799" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172799_Capture.PNG" style="height: 271px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 13:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370218#M418882</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2017-08-08T13:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370219#M418883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this for Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;= IF( Match(Customer, 'xxx'), Severity)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;OR Using Set analysis&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;count({&amp;lt; Date = {"&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;gt;=$(=DATE(MAX(Date)-30)) &lt;/SPAN&gt;&amp;lt;=$(=DATE(MAX(Date)))"}, Customer = {xxx}&amp;gt;}TICKETID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 13:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370219#M418883</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-08T13:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370220#M418884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil, I tried but this doesn't works in my case:(&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 13:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370220#M418884</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2017-08-08T13:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370221#M418885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This, Doesn't for you?&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;count({&amp;lt; Date = {"&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;gt;=$(=DATE(MAX(Date-30))) &lt;/SPAN&gt;&amp;lt;=$(=DATE(MAX(Date)))"}&amp;gt;}TICKETID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 13:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370221#M418885</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-08T13:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370222#M418886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to add it to the expression and no results. I think , I need to restrict the dimension in some way... for the last 30 day... and&amp;nbsp; maybe this would works.&amp;nbsp;&amp;nbsp; The problem&amp;nbsp; when I restrict the data for the last 30 days I loose all the days with no data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 14:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370222#M418886</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2017-08-08T14:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370223#M418887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually, I don't prefer to use calculated dimension , Any way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you show image where you did?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 14:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370223#M418887</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-08T14:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370224#M418888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172800_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 14:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370224#M418888</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2017-08-08T14:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370225#M418889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172801_Capture.PNG" style="height: 549px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 14:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370225#M418889</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2017-08-08T14:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370226#M418890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and here I changed the dimension day to be op_date and I enable the second expression&amp;nbsp; which was SUM(1) to display the null.&lt;/P&gt;&lt;P&gt;After I do all the above I can see that the legend now shows right but I need to see the dates with don't contains any tickets&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172805_Capture.PNG" style="height: 83px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 14:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370226#M418890</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2017-08-08T14:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370227#M418891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This won't help to me. Will you provide sample? Instead xxx you could use your Value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 14:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370227#M418891</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-08T14:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370228#M418892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made some test data please check the&amp;nbsp; above attached files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 14:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370228#M418892</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2017-08-08T14:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370229#M418893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How come you say, This is not working. Even though.. you don't have more than 30 Dates in your Model. Does it make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 15:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370229#M418893</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-08T15:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370230#M418894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172803_Capture.PNG" style="height: 91px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 15:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370230#M418894</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-08T15:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370231#M418895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check now the new attached files. I just amend them.,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 15:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370231#M418895</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2017-08-08T15:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370232#M418896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please check the new files. the first one they are not the best version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 15:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370232#M418896</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2017-08-08T15:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370233#M418897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 15:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370233#M418897</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-08T15:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370234#M418898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well done Anil! Many Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 20:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370234#M418898</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2017-08-08T20:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370235#M418899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil, I have checked now and if for example in the excel files&amp;nbsp; for the Customer 'ABC' we don't have any severity&amp;nbsp; the date 29/07/2017 is not displayed.&lt;/P&gt;&lt;P&gt;I attached again the excel files where I made the the above changes. &lt;/P&gt;&lt;P&gt;Could you please advise ?&amp;nbsp; That was the reason why I used the sum/(1) to be blank, to display the missing dates. But if I do this I would have more data into the legend and this is not right.&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 20:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370235#M418899</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2017-08-08T20:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370236#M418900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without testing, I am saying this part like even if you don't have dates foe specific customer that's not a big deal. This will exclude and club the previous one if selection happen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume, You have date 1-31. For ABC customer you don't have data for 29th then it excludes and it shows as 1-31 without 29th. That qlik can handle. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 02:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370236#M418900</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-09T02:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Legend wrong</title>
      <link>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370237#M418901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand your point of view but for a best practice is good to display the missing dates too and the legend to display only the Severities for the last 30 days. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 08:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Legend-wrong/m-p/1370237#M418901</guid>
      <dc:creator>0li5a3a</dc:creator>
      <dc:date>2017-08-09T08:56:31Z</dc:date>
    </item>
  </channel>
</rss>

