<?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: expression going wrong in kpi in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065183#M465585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;my default i need to show current score of all the location without any selection ,i think by writing your expression i am able to achieve it ,as soon as i open the sheet it showing the current value with out any selection.......&lt;/P&gt;&lt;P&gt;but the problem is&amp;nbsp; when user select other then CHANDERIA from locatiopn drop down this CHANDERIA GAUAGE CHART NEEDLE should show zero and wise versa for all ............&lt;/P&gt;&lt;P&gt;with ur expression i am able to achieve the first requirement but not the second one ..i think we should do a samll change in expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2016 12:32:43 GMT</pubDate>
    <dc:creator>kunkumnaveen</dc:creator>
    <dc:date>2016-03-14T12:32:43Z</dc:date>
    <item>
      <title>expression going wrong in kpi</title>
      <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065175#M465577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all ,&lt;/P&gt;&lt;P&gt;i am trying to show current score in guage chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression :&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small;"&gt;=If(SubStringCount(Concat(DISTINCT LOCATION, ', '), 'CHANDERIA') = 1,FirstSortedValue(OVERALL_SCR,-ADATE), 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in presentation tab&lt;/P&gt;&lt;P&gt;under &lt;/P&gt;&lt;P&gt;text in chart:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small; line-height: 1.5em;"&gt;=If(SubStringCount(Concat(DISTINCT LOCATION, ', '), 'CHANDERIA') = 1,FirstSortedValue(OVERALL_SCR,-ADATE), 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: small; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 10pt;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;both the expression giving me the &lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5px;"&gt;wrong&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em;"&gt; answer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #222222; font-size: 10pt; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #222222; font-size: 10pt; font-family: arial, sans-serif;"&gt;i am getting 41 as current score(wrong answer)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #222222; font-size: 10pt; font-family: arial, sans-serif;"&gt;it has to be 71 (correct)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #222222; font-size: 10pt; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #222222; font-size: 10pt; font-family: arial, sans-serif;"&gt;wat going wrong please help me&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 10:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065175#M465577</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2016-03-14T10:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: expression going wrong in kpi</title>
      <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065176#M465578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can any one help me with the above requirement&lt;/P&gt;&lt;P&gt;please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 10:51:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065176#M465578</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2016-03-14T10:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: expression going wrong in kpi</title>
      <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065177#M465579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please share sample qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 10:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065177#M465579</guid>
      <dc:creator>mightyqlikers</dc:creator>
      <dc:date>2016-03-14T10:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: expression going wrong in kpi</title>
      <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065178#M465580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked the expression, its working fine with small sample, can you share your data in excel to verify.&lt;/P&gt;&lt;P&gt;I found your date is in MM/DD/YYYY format, hope your default format is this only, else it will give wrong result. It was giving earlier 41 but when corrected it as per my format, it gave 71. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 11:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065178#M465580</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-03-14T11:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: expression going wrong in kpi</title>
      <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065179#M465581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;plz share the sample data.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 11:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065179#M465581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-14T11:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: expression going wrong in kpi</title>
      <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065180#M465582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to send sample qvw ..but its not letting me because the file is around 12 mb...&lt;/P&gt;&lt;P&gt;so exactly do i need to do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually the date i got was YYYY-MM-DD&lt;/P&gt;&lt;P&gt;i changed it in to mm/dd/yyyy&lt;/P&gt;&lt;P&gt;at script level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;when i selection that particular location it is giving me 71&lt;/P&gt;&lt;P&gt;but when i press clear all ,i mean no location selected then it is giving me 41&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i want when user open this sheet it has to show current value 71 in the form of kpi&lt;/P&gt;&lt;P&gt;please help me...&lt;/P&gt;&lt;P&gt;i will try to send you sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 11:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065180#M465582</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2016-03-14T11:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: expression going wrong in kpi</title>
      <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065181#M465583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i had changed the date formate in guage chart &lt;/P&gt;&lt;P&gt;but its not giving me proper answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 12:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065181#M465583</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2016-03-14T12:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: expression going wrong in kpi</title>
      <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065182#M465584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-size: 8pt; background-color: #f4f4f4; font-family: arial, helvetica, sans-serif;"&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-size: 8pt; background-color: #f4f4f4; font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-size: 8pt; background-color: #f4f4f4; font-family: arial, helvetica, sans-serif;"&gt;Alt(FirstSortedValue({$&amp;lt;&lt;SPAN style="color: #222222;"&gt;LOCATION = {'&lt;SPAN style="color: #222222;"&gt;CHANDERIA&lt;/SPAN&gt;'}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="color: #222222;"&gt;OVERALL_SCR, -ADATE&lt;/SPAN&gt;), 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 12:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065182#M465584</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-03-14T12:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: expression going wrong in kpi</title>
      <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065183#M465585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;my default i need to show current score of all the location without any selection ,i think by writing your expression i am able to achieve it ,as soon as i open the sheet it showing the current value with out any selection.......&lt;/P&gt;&lt;P&gt;but the problem is&amp;nbsp; when user select other then CHANDERIA from locatiopn drop down this CHANDERIA GAUAGE CHART NEEDLE should show zero and wise versa for all ............&lt;/P&gt;&lt;P&gt;with ur expression i am able to achieve the first requirement but not the second one ..i think we should do a samll change in expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 12:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065183#M465585</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2016-03-14T12:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: expression going wrong in kpi</title>
      <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065184#M465586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, like that I think it will be ok:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-size: 10.6667px; background-color: #f4f4f4;"&gt;Alt(FirstSortedValue({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.6667px; color: #222222;"&gt;LOCATION &lt;STRONG style="font-size: 12pt;"&gt;*&lt;/STRONG&gt;= {'&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10.6667px; font-family: inherit;"&gt;CHANDERIA&lt;/SPAN&gt;'}&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-size: 10.6667px; background-color: #f4f4f4;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.6667px; color: #222222;"&gt;OVERALL_SCR, -ADATE&lt;/SPAN&gt;&lt;SPAN style="color: #0f0f0f; font-size: 10.6667px; background-color: #f4f4f4;"&gt;), 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 12:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065184#M465586</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-03-14T12:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: expression going wrong in kpi</title>
      <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065185#M465587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Thanks for you ur help ,it worked .......appreciated,&lt;/P&gt;&lt;P&gt;i am sorry for annoying&amp;nbsp; you ,i need a last help from you &lt;/P&gt;&lt;P&gt;i am trying to display current and previous scores for each location&amp;nbsp; in a bar chart which i have done,&lt;/P&gt;&lt;P&gt;expression :firstsortvalue(overall_src,-ADATE)(CURRENT )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;firstsortvalue(overall_src,-ADATE,2) (PREVIOUS)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But my client also need respective quarter with those scores,i thought it will be easy because i got quarter field ..and i added it as second dimension ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;after adding that it is showing all the quarters for all location...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;what i need is only current and pervious quarters for all location&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 13:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065185#M465587</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2016-03-14T13:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: expression going wrong in kpi</title>
      <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065186#M465588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's perhaps better to create a new question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have more answer and It will be better for other people with same issue to find it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 13:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065186#M465588</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-03-14T13:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: expression going wrong in kpi</title>
      <link>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065187#M465589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes i have done that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 13:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-going-wrong-in-kpi/m-p/1065187#M465589</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2016-03-14T13:36:38Z</dc:date>
    </item>
  </channel>
</rss>

