<?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 Adding state identifiers changes count values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-state-identifiers-changes-count-values/m-p/577888#M478475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to apologize ahead of time for the text explanation without a file sample.&amp;nbsp; Tough to make a sample and can't share actual data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have WeekStateA and WeekStateB, both are week selections so I can compare the volume of incidents created for a product, region, and business unit between the weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of creating product, region, and business unit list boxes for each state, I added some identifiers to the expression in an attempt to filter based on inherited state selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was my count expression (calculating deltas for product, region, business unit based on State A and State B date selections):&lt;/P&gt;&lt;P&gt;Count(Distinct {WeekStateB} Incident_Number) - Count(Distinct {WeekStateA} Incident_Number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works great when I am looking at the data without any selections made on the inherited state but when I select a product in the inherited state (by clicking the product name in a chart) region and business unit do not change.&amp;nbsp; So I added identifiers to allow the selection of a product, region, business unit in inherited state:&lt;/P&gt;&lt;P&gt;Count(Distinct {WeekStateB &amp;lt;Product=$::Product,Region=$::Region,BU=$::BU&amp;gt;} Incident_Number) - Count(Distinct {WeekStateA &amp;lt;Product=$::Product,Region=$::Region,BU=$::BU&amp;gt;} Incident_Number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as I add identifiers to filter the data in both states, my values start changing w/o any selections made on the inherited state.&amp;nbsp; Am I using the wrong identifiers or something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2014 19:49:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-03-14T19:49:47Z</dc:date>
    <item>
      <title>Adding state identifiers changes count values</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-state-identifiers-changes-count-values/m-p/577888#M478475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to apologize ahead of time for the text explanation without a file sample.&amp;nbsp; Tough to make a sample and can't share actual data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have WeekStateA and WeekStateB, both are week selections so I can compare the volume of incidents created for a product, region, and business unit between the weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of creating product, region, and business unit list boxes for each state, I added some identifiers to the expression in an attempt to filter based on inherited state selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was my count expression (calculating deltas for product, region, business unit based on State A and State B date selections):&lt;/P&gt;&lt;P&gt;Count(Distinct {WeekStateB} Incident_Number) - Count(Distinct {WeekStateA} Incident_Number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works great when I am looking at the data without any selections made on the inherited state but when I select a product in the inherited state (by clicking the product name in a chart) region and business unit do not change.&amp;nbsp; So I added identifiers to allow the selection of a product, region, business unit in inherited state:&lt;/P&gt;&lt;P&gt;Count(Distinct {WeekStateB &amp;lt;Product=$::Product,Region=$::Region,BU=$::BU&amp;gt;} Incident_Number) - Count(Distinct {WeekStateA &amp;lt;Product=$::Product,Region=$::Region,BU=$::BU&amp;gt;} Incident_Number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as I add identifiers to filter the data in both states, my values start changing w/o any selections made on the inherited state.&amp;nbsp; Am I using the wrong identifiers or something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 19:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-state-identifiers-changes-count-values/m-p/577888#M478475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-14T19:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding state identifiers changes count values</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-state-identifiers-changes-count-values/m-p/577889#M478476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a sample dataset using mockaroo and cannot replicate the issue...&amp;nbsp; Must be a problem with my data somewhere.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 22:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-state-identifiers-changes-count-values/m-p/577889#M478476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-14T22:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding state identifiers changes count values</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-state-identifiers-changes-count-values/m-p/577890#M478477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Count values were changing with additional state identifiers due to null values.&amp;nbsp; I added null as value to my load script and it fixed the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 12:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-state-identifiers-changes-count-values/m-p/577890#M478477</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T12:27:44Z</dc:date>
    </item>
  </channel>
</rss>

