<?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: Set Analysis stopped working after loading new data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266171#M398839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't expect this to work either, but just in case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If(SUM({$&amp;lt;[SummaryReportFlag]&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-={'No'}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;}Auto_TotalProd_MonthProd)=0,'-',Sum({$&amp;lt;[SummaryReportFlag]&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-={'No'}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;}Auto_TotalProd_MonthProd))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jan 2017 21:13:13 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2017-01-03T21:13:13Z</dc:date>
    <item>
      <title>Set Analysis stopped working after loading new data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266168#M398836</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;I am new to posting to the forum however have been reading and developing in Qlikview for a little over 2 years now however have run into an issue that i have not seen before and am unable to find the answer for.&amp;nbsp; I have a set of straight tables that utilize a set analysis expression to limit what is displayed on the table using a field called [SummaryReportFlag].&amp;nbsp; The data populates based on whether the flag is checked yes or not.&amp;nbsp; The idea is to display the current 12 months of evaluation for an employee.&amp;nbsp; The formula If(SUM({$&amp;lt;[SummaryReportFlag]={'Yes'}&amp;gt;}Auto_TotalProd_MonthProd)=0,'-',Sum({$&amp;lt;[SummaryReportFlag]={'Yes'}&amp;gt;}Auto_TotalProd_MonthProd)) has worked without out issue for the better part of a year during development and deployment of this tool.&amp;nbsp; However this morning I loaded a new months worth of data and the expression stopped working.&amp;nbsp; Now it no longer filters out the months that [SummaryReportFlag] = No.&amp;nbsp; It shows all months regardless.&amp;nbsp; I have uploaded a picture for reference.&amp;nbsp; All of the months before Apr-16 have &lt;SPAN style="font-size: 13.3333px;"&gt;[SummaryReportFlag] = No, and all of the months through Mar-17 are &lt;SPAN style="font-size: 13.3333px;"&gt;[SummaryReportFlag] = Yes.&amp;nbsp; Has anyone ever seen this before or know what might all the sudden be wrong?&amp;nbsp; Please let me know if I can be more detailed or clear.&amp;nbsp; I appreciate any help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;IMG alt="Straight Table.jpg" class="jive-image image-1" src="/legacyfs/online/148219_Straight Table.jpg" style="height: 26px; width: 620px;" /&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&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 20:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266168#M398836</guid>
      <dc:creator />
      <dc:date>2017-01-03T20:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis stopped working after loading new data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266169#M398837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you use this?&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;&lt;STRONG&gt;If(SUM({$&amp;lt;[SummaryReportFlag]={'Yes'}&amp;gt;}Auto_TotalProd_MonthProd) &lt;SPAN style="color: #ff0000;"&gt;&amp;gt; 0&lt;/SPAN&gt;, Sum({$&amp;lt;[SummaryReportFlag]={'Yes'}&amp;gt;}Auto_TotalProd_MonthProd))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 20:54:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266169#M398837</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-03T20:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis stopped working after loading new data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266170#M398838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny.&amp;nbsp; I tested it however it seemed to have no effect.&amp;nbsp; I appreciate the input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 20:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266170#M398838</guid>
      <dc:creator />
      <dc:date>2017-01-03T20:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis stopped working after loading new data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266171#M398839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't expect this to work either, but just in case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;If(SUM({$&amp;lt;[SummaryReportFlag]&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-={'No'}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;}Auto_TotalProd_MonthProd)=0,'-',Sum({$&amp;lt;[SummaryReportFlag]&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;-={'No'}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;}Auto_TotalProd_MonthProd))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 21:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266171#M398839</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2017-01-03T21:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis stopped working after loading new data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266172#M398840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate your input John.&amp;nbsp; I have tested your formula and as expected it also did not work.&amp;nbsp; I will offer that when I try to set the original formula to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(SUM({$&amp;lt;[SummaryReportFlag]={'&lt;STRONG style="text-decoration: underline;"&gt;No&lt;/STRONG&gt;'}&amp;gt;}Auto_TotalProd_MonthProd)=0,'-',Sum({$&amp;lt;[SummaryReportFlag]={'&lt;STRONG style="text-decoration: underline;"&gt;No&lt;/STRONG&gt;'}&amp;gt;}Auto_TotalProd_MonthProd))&amp;nbsp; it does not display the no, it just displays the "- " indicator.&amp;nbsp; However the No's do have data in them.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 21:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266172#M398840</guid>
      <dc:creator />
      <dc:date>2017-01-03T21:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis stopped working after loading new data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266173#M398841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check and see if on the Presentation tab of the chart properties do you have Check 'Suppress Zero Values' or not? Ideally, it should be checked, but I am not sure what you have it as.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, did you happen to change QlikView version recently? Or could there be a change in the data in the background somehow? Just throwing out few ideas to troubleshoot your issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 22:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266173#M398841</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-03T22:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis stopped working after loading new data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266174#M398842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have the suppress zero-values checked.&amp;nbsp; However it must stay unchecked because the future months are 0 values from the data source and need to be shown for formatting purposes.&amp;nbsp; The formula I was using that had been working suppressed all of the past values while keeping the 0 values for future months intact.&amp;nbsp; I don't believe there has been an update to Qlik however the way we use Qlik at the company i don't know when there has been updates as we are not privy to that information.&amp;nbsp; Also we are not allowed access to any administrative area where it could be found.&amp;nbsp; I have noticed something else as well.&amp;nbsp; Instead of hiding the data for the 'Nos'&amp;nbsp; It looks to be changing them to 0 values which was not occurring before.&amp;nbsp; The formula Sum(Auto_TotalProd_MonthProd) populates all of the fields, however when I add the [SummaryReportFlag]='Yes' on the original formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(SUM({&amp;lt;[SummaryReportFlag]={'Yes'}&amp;gt;}Auto_TotalProd_MonthProd)=0,'-',Sum({&amp;lt;[SummaryReportFlag]={'Yes'}&amp;gt;}Auto_TotalProd_MonthProd))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the past months change to the '-' value which should only be changing if the value is 0 in the above formula.&amp;nbsp; I tested this formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(SUM(Auto_TotalProd_MonthProd)=0,'-',Sum({&amp;lt;[SummaryReportFlag]={'Yes'}&amp;gt;}Auto_TotalProd_MonthProd))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which turns everything to 0 that is &lt;SPAN style="font-size: 13.3333px;"&gt;[SummaryReportFlag]='Yes'.&amp;nbsp; I wonder if the the root problem is that somehow the expression is changing the answer to 0 in turn forcing the months to be shown?&amp;nbsp; I hope all of that made sense.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 12:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266174#M398842</guid>
      <dc:creator />
      <dc:date>2017-01-04T12:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis stopped working after loading new data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266175#M398843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I honestly don't know what changed, but when I do this formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(SUM(Auto_TotalProd_MonthProd)=0,'-',Sum({&amp;lt;[SummaryReportFlag]={'Yes'}&amp;gt;}Auto_TotalProd_MonthProd))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It changes the current values to 0's and for some reason changes the 0s in the future to null values.&amp;nbsp; Then your suggestion to Suppress Zero-Values was checked and it caused the old months to disappear and the future months to stay.&amp;nbsp; However this only works where the value of the field is greater than 0.&amp;nbsp; So further in the chart for one metric an employee had 0 for a previous month, once i enable this expression to show we are back at square showing all of the months.&amp;nbsp; I have attached a before and after for reference.&amp;nbsp; I have added the above expressions adjustment to all expressions in the chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Before.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148316_Before.jpg" style="height: 62px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;This is how it should display however this is before i added it to the last expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After&lt;/P&gt;&lt;P&gt;&lt;IMG alt="After.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/148317_After.jpg" style="height: 50px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Once added to the last expression where there are 0 values for multiple months it replaces them with the null indicator that i specified '-'.&amp;nbsp; I believe I see what is happening however I have no idea why this would be occurring now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 14:47:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266175#M398843</guid>
      <dc:creator />
      <dc:date>2017-01-04T14:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis stopped working after loading new data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266176#M398844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am a little confused now, what is the difference between the Before and After charts? Can you share the expressions used for them? A sample will be very helpful in looking into the issue with greater depth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 19:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266176#M398844</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-04T19:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis stopped working after loading new data</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266177#M398845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the confusion above.&amp;nbsp; The data i am working with is extremely sensitive so i am trying to show it without revealing to much.&amp;nbsp; Every row is a identical expression except for data set it is summing.&amp;nbsp; I spent the better part of the day working on this trying different solutions and have finally come up with one that works.&amp;nbsp; I have posted the below expression that stopped working with the corrected solution below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;-Filtering a dimension utilizing an expression for a straight table.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression&lt;/STRONG&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(SUM({&amp;lt;[SummaryReportFlag]={'Yes'}&amp;gt;}Auto_TotalProd_MonthProd)=0,'-',Sum({&amp;lt;[SummaryReportFlag]={'Yes'}&amp;gt;}Auto_TotalProd_MonthProd))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Corrected Expression&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(SUM({&amp;lt;[SummaryReportFlag]={Yes,0}&amp;gt;}(Auto_TotalProd_MonthProd)=0),'-',If(Sum({&amp;lt;[SummaryReportFlag]={Yes}&amp;gt;}Auto_TotalProd_MonthProd)=0,'-',SUM({&amp;lt;[SummaryReportFlag]={Yes}&amp;gt;}Auto_TotalProd_MonthProd)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2017 20:04:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-stopped-working-after-loading-new-data/m-p/1266177#M398845</guid>
      <dc:creator />
      <dc:date>2017-01-04T20:04:33Z</dc:date>
    </item>
  </channel>
</rss>

