<?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 Bar Chart from wide table without Transpose in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Bar-Chart-from-wide-table-without-Transpose/m-p/730060#M14786</link>
    <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;it seems to be a common challenge that is discussed and solved many times. But I wonder if there is a smarter solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Table is structured as follows:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ContractID&lt;/TD&gt;&lt;TD&gt;Module_1&lt;/TD&gt;&lt;TD&gt;Module_2&lt;/TD&gt;&lt;TD&gt;Module_3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DEF&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;GHI&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;..&lt;/TD&gt;&lt;TD&gt;..&lt;/TD&gt;&lt;TD&gt;..&lt;/TD&gt;&lt;TD&gt;..&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Goal is to create a bar chart in VA (8.5), that shows the share of existing Module_1 (=1) within all contracts.&lt;/P&gt;&lt;P&gt;As there is no categorical variable for the Modules in this "wide" table, I have to transpose it into a "long" version. That's the proposed way to solve that (first sort, then transpose).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But is there also a way to create such a chart within Visual Analytics without creating a second datasource of this structure?&lt;/P&gt;&lt;P&gt;Thanks in advance for your suggestions!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Mar 2021 11:53:40 GMT</pubDate>
    <dc:creator>TimStettner</dc:creator>
    <dc:date>2021-03-30T11:53:40Z</dc:date>
    <item>
      <title>Bar Chart from wide table without Transpose</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Bar-Chart-from-wide-table-without-Transpose/m-p/730060#M14786</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;it seems to be a common challenge that is discussed and solved many times. But I wonder if there is a smarter solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Table is structured as follows:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ContractID&lt;/TD&gt;&lt;TD&gt;Module_1&lt;/TD&gt;&lt;TD&gt;Module_2&lt;/TD&gt;&lt;TD&gt;Module_3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DEF&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;GHI&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;..&lt;/TD&gt;&lt;TD&gt;..&lt;/TD&gt;&lt;TD&gt;..&lt;/TD&gt;&lt;TD&gt;..&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Goal is to create a bar chart in VA (8.5), that shows the share of existing Module_1 (=1) within all contracts.&lt;/P&gt;&lt;P&gt;As there is no categorical variable for the Modules in this "wide" table, I have to transpose it into a "long" version. That's the proposed way to solve that (first sort, then transpose).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But is there also a way to create such a chart within Visual Analytics without creating a second datasource of this structure?&lt;/P&gt;&lt;P&gt;Thanks in advance for your suggestions!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 11:53:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Bar-Chart-from-wide-table-without-Transpose/m-p/730060#M14786</guid>
      <dc:creator>TimStettner</dc:creator>
      <dc:date>2021-03-30T11:53:40Z</dc:date>
    </item>
  </channel>
</rss>

