<?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: Combining stacked and clustered bar chart in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/539359#M11986</link>
    <description>&lt;P&gt;Should your chart look like this?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="va_measureClusterStack.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27583i43E79E69AA956134/image-size/large?v=v2&amp;amp;px=999" role="button" title="va_measureClusterStack.png" alt="va_measureClusterStack.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If yes, then you can use the Custom Graph Builder, add two bar charts on top of each other change the group style of the second chart to stack, edit the measure for the two bar charts to allow for multiple data assignments. You also want to adjust discrete offset and maybe bar spacing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Give it a go.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Feb 2019 16:18:59 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2019-02-28T16:18:59Z</dc:date>
    <item>
      <title>Combining stacked and clustered bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/539246#M11985</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to chart the values of A B C D E on a clustered bar chart by region.&lt;/P&gt;&lt;P&gt;But I would like to combine the bars of B and C to a stacked bar chart, with the different variables still visible.&lt;/P&gt;&lt;P&gt;This is an easy task in other BI tools I've worked with but I can't seem to figure it out in VA 7.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 10:10:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/539246#M11985</guid>
      <dc:creator>Schwami</dc:creator>
      <dc:date>2019-02-28T10:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Combining stacked and clustered bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/539359#M11986</link>
      <description>&lt;P&gt;Should your chart look like this?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="va_measureClusterStack.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27583i43E79E69AA956134/image-size/large?v=v2&amp;amp;px=999" role="button" title="va_measureClusterStack.png" alt="va_measureClusterStack.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If yes, then you can use the Custom Graph Builder, add two bar charts on top of each other change the group style of the second chart to stack, edit the measure for the two bar charts to allow for multiple data assignments. You also want to adjust discrete offset and maybe bar spacing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Give it a go.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 16:18:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/539359#M11986</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2019-02-28T16:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Combining stacked and clustered bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/539592#M11990</link>
      <description>&lt;P&gt;Thanks for your assistance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was indeed what I was looking for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 12:00:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/539592#M11990</guid>
      <dc:creator>Schwami</dc:creator>
      <dc:date>2019-03-01T12:00:24Z</dc:date>
    </item>
    <item>
      <title>Xtra: Combining stacked and clustered bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/539673#M11992</link>
      <description>&lt;P&gt;I'm looking to build the same *except* I need both bars to be stacked. -- I'm working in ver. 7.4 and it doesn't seem to be possible... Anyone have any ideas for me??? Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 15:59:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/539673#M11992</guid>
      <dc:creator>elkinsbe</dc:creator>
      <dc:date>2019-03-01T15:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Xtra: Combining stacked and clustered bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/539933#M11997</link>
      <description>&lt;P&gt;As mentioned you can use the Custom Graph Builder to define your own graph type, this will allow to do what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it also depends on how your data is structured.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So providing sample data and a mockup of your graph would help.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2019 19:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/539933#M11997</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2019-03-03T19:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Xtra: Combining stacked and clustered bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/540488#M12008</link>
      <description>&lt;P&gt;Thank you so much for your reply! -- Yes, I'm using the custom graph builder to drag in two bar graphs and setting them both to stacked vertical.&lt;/P&gt;&lt;P&gt;Ultimately, I wish to make a visualization that depicts the grocery expenditures by department by month YOY of two persons on the same graph (hence the two stacked bar charts).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, we can look at the visualization and say person A spent more $s in the Dairy dept than person B in the month of June '18.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cannot figure out how to do this. Thanks in advance for your assistance,'&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 16:07:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/540488#M12008</guid>
      <dc:creator>elkinsbe</dc:creator>
      <dc:date>2019-03-05T16:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Xtra: Combining stacked and clustered bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/541246#M12032</link>
      <description>&lt;P&gt;Hello elkinsbe, Believe the previous reply was correct. You can use custom graph builder to achieve the desired results. Adjust the settings of Bar Chart 1 and Bar Chart 2 separately, remove a Discrete Legend, and add a Group Shared Role to the bar charts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the Custom Graph Builder, drag two bar charts over one another on the canvas&lt;/LI&gt;&lt;LI&gt;To format and shift the bars:&lt;UL&gt;&lt;LI&gt;Go to the Properties tab, select Bar Chart 2 from the drop down menu&lt;UL&gt;&lt;LI&gt;Adjust the Grouping style to Stack&lt;/LI&gt;&lt;LI&gt;Adjust the Bar spacing to 60%&lt;/LI&gt;&lt;LI&gt;Adjust the Discrete offset to -20%&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Go to the Properties tab, select Bar Chart 1 from the drop down menu&lt;UL&gt;&lt;LI&gt;Adjust the Grouping style to Stack&lt;/LI&gt;&lt;LI&gt;Adjust the Bar spacing to 60%&lt;/LI&gt;&lt;LI&gt;Adjust the Discrete offset to +20%&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;To ensure that groups appear as the same color on each bar:&lt;UL&gt;&lt;LI&gt;Go to the Properties tab, select A1 from the drop down menu&lt;UL&gt;&lt;LI&gt;Adjust Overlaid plot colors to All graphs start with the same color&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Since groups will be shared across both bar charts, prevent them from being displayed twice:&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Go to the Properties tab, select Discrete Legend from the drop down menu&lt;UL&gt;&lt;LI&gt;Remove the check mark from Bar Chart 1&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Since it is a time series, the category of the X Axis should be self explanatory, so you can remove the label&lt;UL&gt;&lt;LI&gt;Go to the Properties tab, select X Axis from the drop down menu&lt;UL&gt;&lt;LI&gt;Remove the check mark from Show axis label&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;To set up the the Groups, which will be the stacks colors of the bars&lt;UL&gt;&lt;LI&gt;Go to the Role Definitions tab&lt;/LI&gt;&lt;LI&gt;Add a Group Role to Bar Chart 2&lt;/LI&gt;&lt;LI&gt;Add a Group Role to Bar Chart 1&lt;/LI&gt;&lt;LI&gt;Use the drop down arrow next to the Bar Chart 1 Group to Create Shared Role With Another Role, Bart Chart 2 Group, select Ok to any defaults.&lt;/LI&gt;&lt;LI&gt;The Group between each bar chart should now be the same Shared Role&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Save, and add the chart to your report&lt;/LI&gt;&lt;LI&gt;After assigning the roles to your chart, it should look something like this.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SAS VA - Custom Bar Chart - Stacked and Clustered.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27755i604BDF9732DC5474/image-size/large?v=v2&amp;amp;px=999" role="button" title="SAS VA - Custom Bar Chart - Stacked and Clustered.png" alt="SAS VA - Custom Bar Chart - Stacked and Clustered.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 22:02:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/541246#M12032</guid>
      <dc:creator>Robert_T</dc:creator>
      <dc:date>2019-03-07T22:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Xtra: Combining stacked and clustered bar chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/541395#M12041</link>
      <description>&lt;P&gt;Robert T: Thank you so much for your response. Yes, now as your explanation was so clear and included exact instructions I understand how to make this informative double stacked bar chart...further, after re-reading I see the previous response provided a path forward.&lt;/P&gt;&lt;P&gt;Cheers to you for a detailed explanation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 13:31:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Combining-stacked-and-clustered-bar-chart/m-p/541395#M12041</guid>
      <dc:creator>elkinsbe</dc:creator>
      <dc:date>2019-03-08T13:31:02Z</dc:date>
    </item>
  </channel>
</rss>

