<?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: How can I create grouped bars that are also stacked visualization? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-can-i-create-grouped-bars-that-are-also-stacked/m-p/17839#M11775</link>
    <description>&lt;P&gt;try to use asc or dsc keyword ,maybe it worked&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2022 14:19:00 GMT</pubDate>
    <dc:creator>Aviral-Bhardwaj</dc:creator>
    <dc:date>2022-12-20T14:19:00Z</dc:date>
    <item>
      <title>How can I create grouped bars that are also stacked visualization?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-create-grouped-bars-that-are-also-stacked/m-p/17838#M11774</link>
      <description>&lt;P&gt;I wish to create a visualization combined of grouped bars, and also have those bars stacked.&lt;/P&gt;&lt;P&gt;Attached is a sketch of the final result I am interested in.&lt;/P&gt;&lt;P&gt;I am also attaching my sql because I'm not sure if I should "group by" in the query or in the visualization parameters.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1025i022E4EB6B9440105/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select SUM(case when partition_date= '2022-11-16' then 1 else 0 end) as uploads_2022_11_16,
SUM(case when partition_date= '2022-11-17' then 1 else 0 end) as uploads_2022_11_17,
SUM(case when partition_date= '2022-11-18' then 1 else 0 end) as uploads_2022_11_18,
sourceType, entryApplication
from ovp_raw.entry_lifecycle
where partition_date &amp;gt; '2022-11-15'
group by sourceType, entryApplication&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;now it is just all stacked&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot_20221208_040021"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1022i7E7F54B1BA28C45B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_20221208_040021" alt="Screenshot_20221208_040021" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 14:01:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-create-grouped-bars-that-are-also-stacked/m-p/17838#M11774</guid>
      <dc:creator>Michal_L</dc:creator>
      <dc:date>2022-12-08T14:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create grouped bars that are also stacked visualization?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-i-create-grouped-bars-that-are-also-stacked/m-p/17839#M11775</link>
      <description>&lt;P&gt;try to use asc or dsc keyword ,maybe it worked&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 14:19:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-i-create-grouped-bars-that-are-also-stacked/m-p/17839#M11775</guid>
      <dc:creator>Aviral-Bhardwaj</dc:creator>
      <dc:date>2022-12-20T14:19:00Z</dc:date>
    </item>
  </channel>
</rss>

