<?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 Displaying values of a  measure during the previous months in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Displaying-values-of-a-measure-during-the-previous-months/m-p/454821#M9926</link>
    <description>&lt;P&gt;Hello guys!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a report where I give the option to the user to choose either displaying the current month , if he chooses "Mês" from the button bar, or to display the values over the previous months including the current month, if he chooses "YTD".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use a&amp;nbsp;Derived Item, but it is not helpful as it gives a single value, also&amp;nbsp; I tried calculated items with parameters, and I got lost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any one has a suggestion ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19860iD73A04F669879527/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.PNG" alt="3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Apr 2018 16:08:42 GMT</pubDate>
    <dc:creator>salamabdeen</dc:creator>
    <dc:date>2018-04-17T16:08:42Z</dc:date>
    <item>
      <title>Displaying values of a  measure during the previous months</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Displaying-values-of-a-measure-during-the-previous-months/m-p/454821#M9926</link>
      <description>&lt;P&gt;Hello guys!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a report where I give the option to the user to choose either displaying the current month , if he chooses "Mês" from the button bar, or to display the values over the previous months including the current month, if he chooses "YTD".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use a&amp;nbsp;Derived Item, but it is not helpful as it gives a single value, also&amp;nbsp; I tried calculated items with parameters, and I got lost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any one has a suggestion ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19860iD73A04F669879527/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.PNG" alt="3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 16:08:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Displaying-values-of-a-measure-during-the-previous-months/m-p/454821#M9926</guid>
      <dc:creator>salamabdeen</dc:creator>
      <dc:date>2018-04-17T16:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying values of a  measure during the previous months</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Displaying-values-of-a-measure-during-the-previous-months/m-p/454862#M9927</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you thought about using the slider control object for selecting YTD?&lt;/P&gt;&lt;P&gt;I would suggest you take a look at this topic, there is a lot of useful info that may help you:&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/VA-Report-Example-Current-Month-vs-Previous-Month/tac-p/356735#M1950" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/VA-Report-Example-Current-Month-vs-Previous-Month/tac-p/356735#M1950&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 17:24:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Displaying-values-of-a-measure-during-the-previous-months/m-p/454862#M9927</guid>
      <dc:creator>alineagostini</dc:creator>
      <dc:date>2018-04-17T17:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying values of a  measure during the previous months</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Displaying-values-of-a-measure-during-the-previous-months/m-p/455045#M9931</link>
      <description>&lt;P&gt;DO you have two different meassures one for current and one for YTD?&lt;/P&gt;
&lt;P&gt;That should be the first step, add them in a table and check that they work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so&amp;nbsp;I think you could do the following:&lt;/P&gt;
&lt;P&gt;- Create a new parameter and assign it to the button bar.&lt;/P&gt;
&lt;P&gt;- Create a new calculated meassure that select either current or YTD depending on the parameter. (IF [parm] = 'Current' then current_var else YTD_var)&lt;/P&gt;
&lt;P&gt;- Use that new meassure in your report.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Might help or am I out in the blue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 06:44:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Displaying-values-of-a-measure-during-the-previous-months/m-p/455045#M9931</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2018-04-18T06:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying values of a  measure during the previous months</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Displaying-values-of-a-measure-during-the-previous-months/m-p/458739#M10031</link>
      <description>&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that I need to do more calculations, for example , we are in May 2018, but if someone choose March 2018 it should give the sum from January to March, and in this case the YTD_VAR doesn't give the expected results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 16:35:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Displaying-values-of-a-measure-during-the-previous-months/m-p/458739#M10031</guid>
      <dc:creator>salamabdeen</dc:creator>
      <dc:date>2018-04-30T16:35:43Z</dc:date>
    </item>
  </channel>
</rss>

