<?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: Dealing with 0's / - in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138535#M20680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I made few changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Used a calculated dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Match(Programme, 'Epilepsy', 'Functional Disorders', 'Headache and Migraine', 'Motor Neurone Disease and Spinal Muscular Atrophy', 'Multiple Sclerosis and Inflammatory Disorders',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'Neuromuscular Diseases', 'Parkinsonism and Other Extrapyramidal Disorders', 'Traumatic Brain and Spine Injuries', 'Tumours of the Nervous System'), Programme)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Checked '&lt;STRONG&gt;Suppress When Value is Null&lt;/STRONG&gt;' on the dimensions tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Unchecked '&lt;STRONG&gt;Suppress Zero-Values&lt;/STRONG&gt;' from the Presentation tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2018 12:19:47 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-07-13T12:19:47Z</dc:date>
    <item>
      <title>Dealing with 0's / -</title>
      <link>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138530#M20675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm hoping someone might be able to help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table that is working out a variance between 2 sets of data that have been standardised to a rate per 1,000.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression I am using is:&lt;/P&gt;&lt;P&gt;=(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&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; (&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;&amp;nbsp;&amp;nbsp; sum({&amp;lt;[Main Programme] = {'Neurology'}, [Chapter] = {'Neurological - Conditions'}, POD = {'Elective'}, Year = {'2018-19'}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Cost]) //Calculate the current year value for Neurology&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;&amp;nbsp;&amp;nbsp; /count(distinct {&amp;lt;Year = {'2018-19'}&amp;gt;}Period) //Divide by the current number of months&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; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *12 //Times by 12 to get a straight line projection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /sum({&amp;lt;Year = {'2018-19'}&amp;gt;}Pops) //Divide this by the current cohort&lt;/P&gt;&lt;P&gt;)*1000 // Times by 1000 to get the RPT&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;-sum({&amp;lt;Year = {'2015-16'}, [Main Programme] = {'Neurology'}, [Chapter] = {'Neurological - Conditions'}, POD = {'Elective'}&amp;gt;}[Best 5]) //Minus the Target vale to find the variance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that I am facing is that I have 9 Dimensions but 3 are blank for the first sum.&amp;nbsp; This is causing the equation to set them as '-' and to be excluded from the final results displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pic.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207785_Pic.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Un-checking the 'Suppress Zero-Values' checkbox causes the table to display every available item regardless of the set analysis of the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how I can get the table to display the 9 values, some as 0 without showing everything (I have 100+ programmes broken down into main programmes and chapters).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help you can offer is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 09:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138530#M20675</guid>
      <dc:creator>jarrad_murray</dc:creator>
      <dc:date>2018-07-13T09:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with 0's / -</title>
      <link>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138531#M20676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to test it out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 11:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138531#M20676</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-13T11:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with 0's / -</title>
      <link>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138532#M20677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached a sample to test out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 12:05:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138532#M20677</guid>
      <dc:creator>jarrad_murray</dc:creator>
      <dc:date>2018-07-13T12:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with 0's / -</title>
      <link>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138533#M20678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you after a view like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207806_Capture.PNG" style="height: 244px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 12:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138533#M20678</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-13T12:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with 0's / -</title>
      <link>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138534#M20679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ooh yes, that's it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it the match function that is doing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 12:16:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138534#M20679</guid>
      <dc:creator>jarrad_murray</dc:creator>
      <dc:date>2018-07-13T12:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with 0's / -</title>
      <link>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138535#M20680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I made few changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Used a calculated dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Match(Programme, 'Epilepsy', 'Functional Disorders', 'Headache and Migraine', 'Motor Neurone Disease and Spinal Muscular Atrophy', 'Multiple Sclerosis and Inflammatory Disorders',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'Neuromuscular Diseases', 'Parkinsonism and Other Extrapyramidal Disorders', 'Traumatic Brain and Spine Injuries', 'Tumours of the Nervous System'), Programme)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Checked '&lt;STRONG&gt;Suppress When Value is Null&lt;/STRONG&gt;' on the dimensions tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Unchecked '&lt;STRONG&gt;Suppress Zero-Values&lt;/STRONG&gt;' from the Presentation tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 12:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138535#M20680</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-13T12:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with 0's / -</title>
      <link>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138536#M20681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for your help with this Sunny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 12:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dealing-with-0-s/m-p/138536#M20681</guid>
      <dc:creator>jarrad_murray</dc:creator>
      <dc:date>2018-07-13T12:22:07Z</dc:date>
    </item>
  </channel>
</rss>

