<?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 Create a dynamic hierarchy in SAS 7.4 in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-a-dynamic-hierarchy-in-SAS-7-4/m-p/589998#M13075</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to create a dynamic hierarchy in SAS 7.4?&amp;nbsp;&lt;/P&gt;&lt;P&gt;My requirement is that the the user should be able to interchange the levels of the hierarchy eg if Level 1 is Region and Level 2 is Product user can interchange Level 1 to be Product and Level 2 to be Region.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2019 12:21:13 GMT</pubDate>
    <dc:creator>sid5005</dc:creator>
    <dc:date>2019-09-19T12:21:13Z</dc:date>
    <item>
      <title>Create a dynamic hierarchy in SAS 7.4</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-a-dynamic-hierarchy-in-SAS-7-4/m-p/589998#M13075</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to create a dynamic hierarchy in SAS 7.4?&amp;nbsp;&lt;/P&gt;&lt;P&gt;My requirement is that the the user should be able to interchange the levels of the hierarchy eg if Level 1 is Region and Level 2 is Product user can interchange Level 1 to be Product and Level 2 to be Region.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 12:21:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-a-dynamic-hierarchy-in-SAS-7-4/m-p/589998#M13075</guid>
      <dc:creator>sid5005</dc:creator>
      <dc:date>2019-09-19T12:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create a dynamic hierarchy in SAS 7.4</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-a-dynamic-hierarchy-in-SAS-7-4/m-p/590086#M13077</link>
      <description>&lt;P&gt;I don't think there is an easy or straightforward way to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Possibly you could create a single hierarchy consisting of two calculated items. The expressions for those two items would each return a different category, based on a parameter value that is set by a button bar or drop-down list control.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have not tried this, but I believe it should work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The calculated expressions would look something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF 'parameter'p = "A"&lt;/P&gt;
&lt;P&gt;RETURN 'A'n&lt;/P&gt;
&lt;P&gt;ELSE 'B'n&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and the other one would be the opposite:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF 'parameter'p = "A"&lt;/P&gt;
&lt;P&gt;RETURN 'B'n&lt;/P&gt;
&lt;P&gt;ELSE 'A'n&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure how useful this is, because only the values would be dynamic. The names of the hierarchy levels would not change.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 15:55:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Create-a-dynamic-hierarchy-in-SAS-7-4/m-p/590086#M13077</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2019-09-19T15:55:05Z</dc:date>
    </item>
  </channel>
</rss>

