<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gri-blog</author_name>
  <author_url>https://blog.hatena.ne.jp/gri-blog/</author_url>
  <blog_title>GRI Blog</blog_title>
  <blog_url>https://gri-blog.hatenablog.com/</blog_url>
  <categories>
    <anon>Tableau</anon>
    <anon>SQL</anon>
    <anon>saito.hiroki</anon>
  </categories>
  <description>私が最初Tableauをさわったときに思ったことは、この出来上がったチャートは、要は元のデータをどう集計した上で可視化してるんだ？でした。LODを使い始めると特に。そして、チャートをつくるにあたって最終的にどう集計したのかを、全部SQLで教えてくれないかなと思いました。少し調べた限りでは、そのように解説している記事などはあまり見つからなかったと思います。それを書いてみようと思います。 まず、基本的には、ディメンションはGROUP BYで、メジャーはSUMなどで集計されます。多くの場合、青はGROUP BYです。↓</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgri-blog.hatenablog.com%2Fentry%2Ftableau-bySQL1&quot; title=&quot;SQLの頭で理解するTableau 其の１ - GRI Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/g/gri-blog/20210325/20210325144753.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-03-25 15:14:50</published>
  <title>SQLの頭で理解するTableau 其の１</title>
  <type>rich</type>
  <url>https://gri-blog.hatenablog.com/entry/tableau-bySQL1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
