<?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: Count status changes between today and last day in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1758032#M58520</link>
    <description>&lt;P&gt;Thanks for the reply.&lt;BR /&gt;I was only calculation the difference between today and yesterday as an initial example. My idea is to be able to check for each [Reference Date] in comparison to the previous one.&lt;/P&gt;&lt;P&gt;I have output for both today's date and yesterday's date. Format seems equal, how can I make sure here is no difference on the format that I was unable to notice?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Nov 2020 08:31:46 GMT</pubDate>
    <dc:creator>NunoCampos</dc:creator>
    <dc:date>2020-11-03T08:31:46Z</dc:date>
    <item>
      <title>Count status changes between today and last day</title>
      <link>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1757890#M58502</link>
      <description>&lt;P&gt;I'm creating a pivot table that contains &lt;STRONG&gt;Reference Date, Trade Status and Name&lt;/STRONG&gt; as Dimensions and as Measures I want to Display &lt;STRONG&gt;Count[Trade Status]&lt;/STRONG&gt; - which is working as expected - and also a delta between today and last day on Reference Date - which I can't make it work.&lt;BR /&gt;&lt;BR /&gt;I'm trying the following formula:&amp;nbsp;=Count({&amp;lt;[Reference Date]={'$(=Date(Today()))'}&amp;gt;} [Trade Status]) - Count({&amp;lt;[Reference Date]={'$(=Date(Today() - 1))'}&amp;gt;} [Trade Status])&lt;/P&gt;&lt;P&gt;This is always returning 0.&lt;/P&gt;&lt;P&gt;I also tried to use:&amp;nbsp;=Count([Trade Status])-above(Count([Trade Status]))&lt;/P&gt;&lt;P&gt;But in a pivot table the &lt;STRONG&gt;above&amp;nbsp;&lt;/STRONG&gt;function does not fulfill my needs and gets messed up.&lt;/P&gt;&lt;P&gt;Help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1757890#M58502</guid>
      <dc:creator>NunoCampos</dc:creator>
      <dc:date>2024-11-16T01:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count status changes between today and last day</title>
      <link>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1757900#M58504</link>
      <description>&lt;P&gt;as you have date field in the pivot table you have to use interrecord fucntions.&lt;/P&gt;&lt;P&gt;as its a pivot table you may need to use &lt;EM&gt;before&lt;/EM&gt; and &lt;EM&gt;after&lt;/EM&gt; rather than above below&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/Missing-Manual-Before-and-After/ta-p/1488064" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/Missing-Manual-Before-and-After/ta-p/1488064&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 17:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1757900#M58504</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-11-02T17:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count status changes between today and last day</title>
      <link>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1757903#M58506</link>
      <description>&lt;P&gt;I notice that you have [Reference Date] as a dimension, but you are only calculating the difference between today and yesterday. It will probably be easier to get desired output if you skip using [Reference Date] as a dimension.&lt;/P&gt;&lt;P&gt;Can you confirm that you have output for today's date and yesterday's date? And that the format of [Reference Date] is the same format that you get from date (today())?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 17:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1757903#M58506</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-11-02T17:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Count status changes between today and last day</title>
      <link>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1758029#M58519</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;BR /&gt;Before and after didn't suit my case since I'm not accessing values from existing columns but instead from previous dates.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 08:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1758029#M58519</guid>
      <dc:creator>NunoCampos</dc:creator>
      <dc:date>2020-11-03T08:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Count status changes between today and last day</title>
      <link>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1758032#M58520</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;BR /&gt;I was only calculation the difference between today and yesterday as an initial example. My idea is to be able to check for each [Reference Date] in comparison to the previous one.&lt;/P&gt;&lt;P&gt;I have output for both today's date and yesterday's date. Format seems equal, how can I make sure here is no difference on the format that I was unable to notice?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 08:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1758032#M58520</guid>
      <dc:creator>NunoCampos</dc:creator>
      <dc:date>2020-11-03T08:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count status changes between today and last day</title>
      <link>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1758036#M58521</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128884"&gt;@NunoCampos&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you want to display the Today - Yesterday reference date alone. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can remove the Reference date as dimension and try with below formula.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Count({&amp;lt;[Reference Date]={'$(=Date(Max([Reference Date])))'}&amp;gt;} [Trade Status]) - Count({&amp;lt;[Reference Date]={'$(=Date(Max([Reference Date])-1))'}&amp;gt;} [Trade Status])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If its not working, please give the sample data.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 08:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1758036#M58521</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-11-03T08:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Count status changes between today and last day</title>
      <link>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1758094#M58537</link>
      <description>&lt;P&gt;That formula returns 0 on all value as well.&lt;BR /&gt;This is the data I have (picture attached):&lt;/P&gt;&lt;P&gt;Dimensions: [Reference Date] [Trade Status] [Name]&lt;BR /&gt;Measures:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;=Count([Trade Status]) - Which gives me how many Names I have assigned with a Trade Status for each Reference Date&lt;/LI&gt;&lt;LI&gt;=Count([Trade Status])-above(Count([Trade Status])) - Which gives me the change between Count([Trade Status]) from today and last day but doesn't work in the pivot table when I expand.&lt;/LI&gt;&lt;LI&gt;Your formula - returning 0&lt;UL&gt;&lt;LI&gt;What I want to display here is the new Names that were added/removed to each Trade Status. Something like the second formula (that only focus on the diff of Trade Status count) that can work in a pivot table&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NunoCampos_0-1604405268716.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43422i64BA12A73ADF8845/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NunoCampos_0-1604405268716.png" alt="NunoCampos_0-1604405268716.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 12:17:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-status-changes-between-today-and-last-day/m-p/1758094#M58537</guid>
      <dc:creator>NunoCampos</dc:creator>
      <dc:date>2020-11-03T12:17:03Z</dc:date>
    </item>
  </channel>
</rss>

