<?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 Different measure for each drill down level in VA in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Different-measure-for-each-drill-down-level-in-VA/m-p/459323#M10068</link>
    <description>&lt;P&gt;i have a simple hierarchy (continent, state...) and 2 measures (revenues, items number)&lt;/P&gt;&lt;P&gt;i needs to see (in a cross table, or other objects) just the items number if the user drill to continent, but i need to see the revenue measure if the user drill down to state category&lt;/P&gt;</description>
    <pubDate>Wed, 02 May 2018 14:21:53 GMT</pubDate>
    <dc:creator>rufmau68</dc:creator>
    <dc:date>2018-05-02T14:21:53Z</dc:date>
    <item>
      <title>Different measure for each drill down level in VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Different-measure-for-each-drill-down-level-in-VA/m-p/459323#M10068</link>
      <description>&lt;P&gt;i have a simple hierarchy (continent, state...) and 2 measures (revenues, items number)&lt;/P&gt;&lt;P&gt;i needs to see (in a cross table, or other objects) just the items number if the user drill to continent, but i need to see the revenue measure if the user drill down to state category&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 14:21:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Different-measure-for-each-drill-down-level-in-VA/m-p/459323#M10068</guid>
      <dc:creator>rufmau68</dc:creator>
      <dc:date>2018-05-02T14:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Different measure for each drill down level in VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Different-measure-for-each-drill-down-level-in-VA/m-p/459553#M10081</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;It's not working out of the box!&lt;/P&gt;
&lt;P&gt;You can somehow determine which level you are at by counting distinct level members, but it failes if the sublevel only contains 1 item, i.e 1-1. And from that create a calculated aggregated meassure that uses either item or revenue depending on the flag.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why not use two list tables one for&amp;nbsp;items number and one for revenue and link them together?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 07:47:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Different-measure-for-each-drill-down-level-in-VA/m-p/459553#M10081</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2018-05-03T07:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Different measure for each drill down level in VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Different-measure-for-each-drill-down-level-in-VA/m-p/459567#M10082</link>
      <description>&lt;P&gt;thanks FredriK,&lt;/P&gt;&lt;P&gt;the workaround with 2 table list object , i'm sure that it work, with interation between the 2 object&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i'm interested to&amp;nbsp;understand if there is a way to know the drill level where the user lands....&lt;/P&gt;&lt;P&gt;your first suggestions its interesting but i'm not sure that i understand it, what U compare ?&lt;/P&gt;&lt;P&gt;eg.: hierarchy categories ---&amp;gt; lev1, lev2 and lev3&lt;/P&gt;&lt;P&gt;distinct(lev1) vs. .... ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2018 08:41:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Different-measure-for-each-drill-down-level-in-VA/m-p/459567#M10082</guid>
      <dc:creator>rufmau68</dc:creator>
      <dc:date>2018-05-03T08:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Different measure for each drill down level in VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Different-measure-for-each-drill-down-level-in-VA/m-p/459598#M10085</link>
      <description>&lt;P&gt;I tried to do "Count distinct" on level2.&lt;/P&gt;
&lt;P&gt;When on level 1 I got a value greater than 1 (Level 2 need to have more than one member thou').&lt;/P&gt;
&lt;P&gt;*When on level2 I got the value 1 for each row.&lt;/P&gt;
&lt;P&gt;I then created a calculated aggregated meassure that did an "If-then-else" and picked measure 1 or 2 depending on the "count distinct" variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you can do some more calculations to be sure that you are on the correct level?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why I suggested the two list tables is that I don't really like showing different measures in the same column/table, I think it will confuse the users. I have done a lot of this using OLAP cubes and MDX, but it always got complicated and hard for my (especially new) users to understand.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would try to separate it and create filters/interactions to get the same outcome &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>Thu, 03 May 2018 10:35:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Different-measure-for-each-drill-down-level-in-VA/m-p/459598#M10085</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2018-05-03T10:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Different measure for each drill down level in VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Different-measure-for-each-drill-down-level-in-VA/m-p/459951#M10100</link>
      <description>&lt;P&gt;I tried,&lt;/P&gt;&lt;P&gt;great! it works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in that way U change column contents, but not column header... so U need to insert any dynamic disclaimer to suggest the user about the really column content (drill by drill...), but its a good way!!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now in the week end i try to have a dynamic column number in the drill...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in this case i try using measure not stored in column of a source table , but stored in rows of a sourece table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;Mauro&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 07:54:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Different-measure-for-each-drill-down-level-in-VA/m-p/459951#M10100</guid>
      <dc:creator>rufmau68</dc:creator>
      <dc:date>2018-05-04T07:54:49Z</dc:date>
    </item>
  </channel>
</rss>

