<?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: Post COVID counting in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Post-COVID-counting/m-p/675546#M14084</link>
    <description>Hi!&lt;BR /&gt;Maybe you can achieve this by createing three new measures, one for february, one for the latest month and one for the difference.&lt;BR /&gt;Depending on how your months are formatted you have to define your formula, but something like this:&lt;BR /&gt;&lt;BR /&gt;Feb: IF dateFromMDY(month(datepart(now())),1,YEAR(datepart(now()))) = 01FEB2020 return VALUE ELSE missing&lt;BR /&gt;Curr: IF dateFromMDY(month(datepart(now())),1,YEAR(datepart(now()))) = DATEOFMONTH return VALUE ELSE missing&lt;BR /&gt;Growth: Curr - Feb&lt;BR /&gt;&lt;BR /&gt;Might help you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Mon, 10 Aug 2020 09:35:06 GMT</pubDate>
    <dc:creator>FredrikE</dc:creator>
    <dc:date>2020-08-10T09:35:06Z</dc:date>
    <item>
      <title>Post COVID counting</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Post-COVID-counting/m-p/674607#M14076</link>
      <description>&lt;P&gt;In the post-COVID world a question that is regularly getting asked is what growth is occurring in numbers since (for all intents and purposes for work) March 2020.&lt;BR /&gt;&lt;BR /&gt;What I need to be able to do in VA is create a table that has numbers at end of month February and calculate the difference between that and the latest month. We have a "month end" in the data set and I need to show all three items in a table - February numbers, latest month numbers and the calculated difference.&lt;BR /&gt;&lt;BR /&gt;I've tried various combinations of setting up March by itself using filters and latest month as a calculated item and using Treat As to change to number and then rank but can't get this to work. I've tried in both a list table and a cross tab.&amp;nbsp;&lt;BR /&gt;&l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t;TD&gt;666&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD&gt;1104&lt;/TD&gt;&lt;TD&gt;1242&lt;/TD&gt;&lt;TD&gt;138&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Total&lt;/TD&gt;&lt;TD&gt;10493&lt;/TD&gt;&lt;TD&gt;14783&lt;/TD&gt;&lt;TD&gt;4290&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 04 Aug 2020 22:31:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Post-COVID-counting/m-p/674607#M14076</guid>
      <dc:creator>Noel88</dc:creator>
      <dc:date>2020-08-04T22:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Post COVID counting</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Post-COVID-counting/m-p/675546#M14084</link>
      <description>Hi!&lt;BR /&gt;Maybe you can achieve this by createing three new measures, one for february, one for the latest month and one for the difference.&lt;BR /&gt;Depending on how your months are formatted you have to define your formula, but something like this:&lt;BR /&gt;&lt;BR /&gt;Feb: IF dateFromMDY(month(datepart(now())),1,YEAR(datepart(now()))) = 01FEB2020 return VALUE ELSE missing&lt;BR /&gt;Curr: IF dateFromMDY(month(datepart(now())),1,YEAR(datepart(now()))) = DATEOFMONTH return VALUE ELSE missing&lt;BR /&gt;Growth: Curr - Feb&lt;BR /&gt;&lt;BR /&gt;Might help you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Mon, 10 Aug 2020 09:35:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Post-COVID-counting/m-p/675546#M14084</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2020-08-10T09:35:06Z</dc:date>
    </item>
  </channel>
</rss>

