<?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: how to get measure value for only null record in dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/how-to-get-measure-value-for-only-null-record-in-dimension/m-p/5338#M425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add below condition&lt;/P&gt;&lt;P&gt;Customer = {"=len(Customer)=0"}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jan 2018 10:11:53 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2018-01-23T10:11:53Z</dc:date>
    <item>
      <title>how to get measure value for only null record in dimension</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-measure-value-for-only-null-record-in-dimension/m-p/5337#M424</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 have a customer as dimention with null values:&lt;/P&gt;&lt;P&gt;and i have this as measure. Now i want only this measure values where customer is null.&lt;/P&gt;&lt;P&gt;how we can write this in set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(Sum({$&amp;lt;GroupDate={'$(=date(yearend([GroupDate],-1), 'MM/DD/YYYY'))'}&amp;gt;}[sales]-[discount])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 10:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-measure-value-for-only-null-record-in-dimension/m-p/5337#M424</guid>
      <dc:creator>prashantsanchet</dc:creator>
      <dc:date>2018-01-23T10:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to get measure value for only null record in dimension</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-measure-value-for-only-null-record-in-dimension/m-p/5338#M425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add below condition&lt;/P&gt;&lt;P&gt;Customer = {"=len(Customer)=0"}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 10:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-measure-value-for-only-null-record-in-dimension/m-p/5338#M425</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2018-01-23T10:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to get measure value for only null record in dimension</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-measure-value-for-only-null-record-in-dimension/m-p/5339#M426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its not working i am trying in qliksense&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 10:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-measure-value-for-only-null-record-in-dimension/m-p/5339#M426</guid>
      <dc:creator>prashantsanchet</dc:creator>
      <dc:date>2018-01-23T10:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to get measure value for only null record in dimension</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-measure-value-for-only-null-record-in-dimension/m-p/5340#M427</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;Try this: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;num(Sum({$&amp;lt;GroupDate={'$(=date(yearend([GroupDate],-1), 'MM/DD/YYYY'))'}&amp;gt; - &amp;lt;Customer={"*"}&amp;gt;}[sales]-[discount])&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;Edit: It appears you have a syntax problem in your original expression. Anyway, you need to subtract customers that are NOT null from your original state (that is done by " - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;lt;Customer={"*"}&amp;gt;").&lt;/SPAN&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;&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;-Teemu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 12:15:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-measure-value-for-only-null-record-in-dimension/m-p/5340#M427</guid>
      <dc:creator>teempi</dc:creator>
      <dc:date>2018-01-23T12:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to get measure value for only null record in dimension</title>
      <link>https://community.qlik.com/t5/App-Development/how-to-get-measure-value-for-only-null-record-in-dimension/m-p/5341#M428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest to create a null customer flag in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Len(Trim(Customer)) = 0, 1, 0) as CustomerNullFlag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Sum({$&amp;lt;GroupDate={&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;$(=date(yearend([GroupDate],-1), 'MM/DD/YYYY'))&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;}&lt;SPAN style="color: #ff0000;"&gt;, CustomerNullFlag = {1}&lt;/SPAN&gt;&amp;gt;}[sales]-[discount])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I also changed the single quotes around GroupDate's modifier to double quotes. Since you have single quotes around MM/DD/YYYY, it would be better if you use double quotes for the outer quoting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 12:18:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/how-to-get-measure-value-for-only-null-record-in-dimension/m-p/5341#M428</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-23T12:18:13Z</dc:date>
    </item>
  </channel>
</rss>

