<?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: bad file name in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401029#M807917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Oleg, Thanks so much for your replay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i try your suggestion , it did not sow the error of bad file name but the result is wrong, BTW i change the field "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Gross Earnings or Refunds" to "Units" field:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&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;SPAN style="font-weight: inherit; font-style: inherit;"&gt;(sum([Date.autoCalendar.InYTD]&amp;nbsp; *&amp;nbsp; [Units])&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;SPAN style="font-weight: inherit; font-style: inherit;"&gt;-sum([Date.autoCalendar.YearsAgo]&amp;nbsp; *&amp;nbsp; [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Units&lt;/SPAN&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;SPAN style="font-weight: inherit; font-style: inherit;"&gt;/sum([Date.autoCalendar.YearsAgo]&amp;nbsp; * [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Units&lt;/SPAN&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;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;i am attaching screenshot for the &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px;"&gt;result&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-style: inherit; font-weight: inherit;"&gt; , as you can see in the &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px;"&gt;screenshot&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-style: inherit; font-weight: inherit;"&gt; the result is wrong and some result field are empty, i also like to have negative result show in red color&lt;IMG alt="Clip1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180462_Clip1.jpg" style="height: 705px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Oct 2017 17:07:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-21T17:07:28Z</dc:date>
    <item>
      <title>bad file name</title>
      <link>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401027#M807915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;trying to build "Sales Variation" same as the demo sample data in Qlik Sense: "Sales Discovery" &amp;gt; "Sales Comparison"&lt;/P&gt;&lt;P&gt;this is the &lt;SPAN style="font-size: 13.3333px;"&gt;expression in the sample data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;expression:&lt;/P&gt;&lt;P&gt;(sum([YTD Sales Amount])-sum([LY YTD Sales Amount]))/sum([LY YTD Sales Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i follow the same structure on my report and i get bad file name, my &lt;SPAN style="font-size: 13.3333px;"&gt;expression i use:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum([Date.autoCalendar.InYTD Gross Earnings or Refunds])-sum([Date.autoCalendar.YearsAgo Gross Earnings or Refunds]))/sum([Date.autoCalendar.YearsAgo Gross Earnings or Refunds])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;"Gross Earnings or Refunds" field in database&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;please advice what i'm doing wrong&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;thanks in advance&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401027#M807915</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: bad file name</title>
      <link>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401028#M807916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are likely getting a "bad &lt;STRONG&gt;field&lt;/STRONG&gt; name" error - because you combined two separate field names into one, and it's causing the syntax error. In the Sales Discovery sample application, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[YTD Sales Amount] is a field, not a combination of "YTD" and "Sales Amount". [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LY YTD Sales Amount&lt;/SPAN&gt;] is another field (I must say that this is a very much outdated practice to keep current YTD and prior YTD dales amounts in separate fields). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Today we typically use Set Analysis for the same calculations or multiply Sales by the conditional flag that can be 0 or 1. SO, a possibly correct way of calculating the same would be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(sum([Date.autoCalendar.InYTD]&amp;nbsp; *&amp;nbsp; [Gross Earnings or Refunds])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;-sum([Date.autoCalendar.YearsAgo]&amp;nbsp; *&amp;nbsp; [Gross Earnings or Refunds]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;/sum([Date.autoCalendar.YearsAgo]&amp;nbsp; * [Gross Earnings or Refunds])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Assuming that YearsAgo is the calendar flag for Prior YTD (I think there is a better flag for that purpose...)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Upgrade your Qlik skills with my book &lt;A href="https://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=098202df27917ab9836332cf063c51f5"&gt;QlikView Your Business: An Expert Guide to Business Discovery with QlikView and Qlik Sense&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 16:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401028#M807916</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2017-10-20T16:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: bad file name</title>
      <link>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401029#M807917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Oleg, Thanks so much for your replay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i try your suggestion , it did not sow the error of bad file name but the result is wrong, BTW i change the field "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Gross Earnings or Refunds" to "Units" field:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&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;SPAN style="font-weight: inherit; font-style: inherit;"&gt;(sum([Date.autoCalendar.InYTD]&amp;nbsp; *&amp;nbsp; [Units])&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;SPAN style="font-weight: inherit; font-style: inherit;"&gt;-sum([Date.autoCalendar.YearsAgo]&amp;nbsp; *&amp;nbsp; [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Units&lt;/SPAN&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;SPAN style="font-weight: inherit; font-style: inherit;"&gt;/sum([Date.autoCalendar.YearsAgo]&amp;nbsp; * [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Units&lt;/SPAN&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;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13px; font-style: inherit; font-weight: inherit;"&gt;i am attaching screenshot for the &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px;"&gt;result&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-style: inherit; font-weight: inherit;"&gt; , as you can see in the &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px;"&gt;screenshot&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-style: inherit; font-weight: inherit;"&gt; the result is wrong and some result field are empty, i also like to have negative result show in red color&lt;IMG alt="Clip1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180462_Clip1.jpg" style="height: 705px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Oct 2017 17:07:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401029#M807917</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-21T17:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: bad file name</title>
      <link>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401030#M807918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Uriel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's hard for me to troubleshoot without seeing your application. If you could share a small sample, I'd be able to take a look...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Oct 2017 15:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401030#M807918</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2017-10-22T15:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: bad file name</title>
      <link>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401031#M807919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Oleg,&lt;/P&gt;&lt;P&gt;Thanks for your replay. How i can share sample? send you the csv file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;cheers!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Oct 2017 15:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401031#M807919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-22T15:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: bad file name</title>
      <link>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401032#M807920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there Any error in your expression? If so, can you please share the image of expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Oct 2017 16:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401032#M807920</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-22T16:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: bad file name</title>
      <link>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401033#M807921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no error in the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;expression, the result in "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"Sales Variation" are wrong &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Oct 2017 16:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401033#M807921</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-22T16:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: bad file name</title>
      <link>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401034#M807922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, CSV file won't help me... you can attach your QVF file to your post (use Advanced Editor to enable attachments)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just noticed that your post is misplaced - it's a Qlik Sense question in a QlikView forum...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 16:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/bad-file-name/m-p/1401034#M807922</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2017-10-23T16:42:13Z</dc:date>
    </item>
  </channel>
</rss>

