<?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: In Qlikview, Find no of stores that have achieved the budget in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437504#M431704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is full expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;StoreNo={"=sum( {&amp;lt;SalesEntryType={'Sales'},FYear={$(vYesterday_Year)},FPeriod={$(vYesterday_PeriodNo)},DayNo={&amp;lt;=$(vYesterday_DayNo)}&amp;gt;}SalesAmount)&amp;lt; &lt;/P&gt;&lt;P&gt;sum( {&amp;lt;FYear={$(vYesterday_Year)},FPeriod={$(vYesterday_PeriodNo)},DayNo={'&amp;lt;=$(vYesterday_DayNo)'}&amp;gt;}[Budget Amount])"}&amp;gt;}StoreNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns 0 always&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Aug 2017 17:01:29 GMT</pubDate>
    <dc:creator>mayuranp</dc:creator>
    <dc:date>2017-08-21T17:01:29Z</dc:date>
    <item>
      <title>In Qlikview, Find no of stores that have achieved the budget</title>
      <link>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437502#M431702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0 0 1em; font-size: 15px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; color: #242729;"&gt;In Qlikview, I am trying to get no of stores that have achieved budget for this year to date.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 15px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; color: #242729;"&gt;I run the report every day morning for the year upto end of yesterday.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 15px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; color: #242729;"&gt;The expression below is not working due to double quotes within double quotes.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 15px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; color: #242729;"&gt;I tried replacing inner double quotes with single quotes but no luck.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 15px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; color: #242729;"&gt;Any suggestions / ideas?&lt;/P&gt;&lt;PRE style="margin: 0 0 1em; padding: 5px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: #eff0f1; color: #242729;"&gt;&lt;CODE style="font-style: inherit; font-weight: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;count({&amp;lt;StoreNo={"=sum( {&amp;lt;DayNo={"&amp;lt;=$(vYesterday_DayNo)"}&amp;gt;}SalesAmount)&amp;gt; sum( {&amp;lt;FYea&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 12:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437502#M431702</guid>
      <dc:creator>mayuranp</dc:creator>
      <dc:date>2017-08-21T12:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: In Qlikview, Find no of stores that have achieved the budget</title>
      <link>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437503#M431703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Single Quote should work, May be share full expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 15:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437503#M431703</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-21T15:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: In Qlikview, Find no of stores that have achieved the budget</title>
      <link>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437504#M431704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is full expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;StoreNo={"=sum( {&amp;lt;SalesEntryType={'Sales'},FYear={$(vYesterday_Year)},FPeriod={$(vYesterday_PeriodNo)},DayNo={&amp;lt;=$(vYesterday_DayNo)}&amp;gt;}SalesAmount)&amp;lt; &lt;/P&gt;&lt;P&gt;sum( {&amp;lt;FYear={$(vYesterday_Year)},FPeriod={$(vYesterday_PeriodNo)},DayNo={'&amp;lt;=$(vYesterday_DayNo)'}&amp;gt;}[Budget Amount])"}&amp;gt;}StoreNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns 0 always&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 17:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437504#M431704</guid>
      <dc:creator>mayuranp</dc:creator>
      <dc:date>2017-08-21T17:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: In Qlikview, Find no of stores that have achieved the budget</title>
      <link>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437505#M431705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I create the variables in script and then use them in chart expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I write the full expression in the chart, it works as you mentioned. However, storing the the expression in the variable for this is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I have a workaround now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the full expression that works in the chart:&lt;/P&gt;&lt;P&gt;=count({&amp;lt;StoreNo={"=sum( {&amp;lt;SalesEntryType={'Sales'},FYear={$(vYesterday_Year)},FPeriod={$(vYesterday_PeriodNo)},FYearName,Date,DayNo={'&amp;lt;=$(vYesterday_DayNo)'}&amp;gt;}SalesAmount)&amp;gt; &lt;/P&gt;&lt;P&gt;sum( {&amp;lt;[Gen Prod Posting Group Code],[Misc Brands],[Dont Show on Analysis Screen],[Hour],FYear={$(vYesterday_Year)},FPeriod={$(vYesterday_PeriodNo)},FYearName,Date,DayNo={'&amp;lt;=$(vYesterday_DayNo)'}&amp;gt;}[Budget Amount])"}&amp;gt;}StoreNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this be stored as a variable in script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 17:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437505#M431705</guid>
      <dc:creator>mayuranp</dc:creator>
      <dc:date>2017-08-21T17:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: In Qlikview, Find no of stores that have achieved the budget</title>
      <link>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437506#M431706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can user single quote in inner set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-style: inherit; font-weight: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;count({&amp;lt;StoreNo={"=sum( {&amp;lt;DayNo={&lt;STRONG&gt;'&amp;lt;=$(vYesterday_DayNo)'&lt;/STRONG&gt;}&amp;gt;}SalesAmount)&amp;gt; sum( {&amp;lt;FYea&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 17:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437506#M431706</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-08-21T17:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: In Qlikview, Find no of stores that have achieved the budget</title>
      <link>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437507#M431707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put Equals symbol before the variable name and with different expression as well as try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-weight: inherit; font-style: inherit; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;count({&amp;lt;StoreNo={"=sum( {&amp;lt;DayNo={"&amp;lt;&lt;EM&gt;=&lt;/EM&gt;$(&lt;STRONG style=": ; color: #000000; font-size: 18pt;"&gt;=&lt;/STRONG&gt;vYesterday_DayNo)"}&amp;gt;}SalesAmount)&amp;gt; sum( {&amp;lt;FYea&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13.3333px;"&gt;count({&amp;lt;StoreNo={"=sum( {&amp;lt;DayNo={&lt;SPAN style="font-size: 18pt;"&gt;'&lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;EM style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13.3333px;"&gt;=&lt;/EM&gt;&lt;SPAN style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13.3333px;"&gt;$(&lt;/SPAN&gt;&lt;STRONG style=": ; font-size: 18pt; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;=&lt;/STRONG&gt;&lt;SPAN style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; font-size: 13.3333px;"&gt;vYesterday_DayNo)&lt;SPAN style="font-size: 18pt;"&gt;'&lt;/SPAN&gt;}&amp;gt;}SalesAmount)&amp;gt; sum( {&amp;lt;FYea&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 17:54:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437507#M431707</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-08-21T17:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: In Qlikview, Find no of stores that have achieved the budget</title>
      <link>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437508#M431708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you create variables in script. you have to define = sign of before to the variable in set operator&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 00:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/In-Qlikview-Find-no-of-stores-that-have-achieved-the-budget/m-p/1437508#M431708</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-22T00:48:05Z</dc:date>
    </item>
  </channel>
</rss>

