<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ISKayano</author_name>
  <author_url>https://blog.hatena.ne.jp/ISKayano/</author_url>
  <blog_title>SQLServer BI への讃美歌</blog_title>
  <blog_url>https://iskayano.hatenadiary.org/</blog_url>
  <categories>
    <anon>SSAS</anon>
  </categories>
  <description>今日は、キューブの話です。 またもや、プチはまったので、備忘録として。ＤＷＨ（データベース）時点で、データをサマリテーブルとして保持している場合、 メジャーの値がNULLとなることがあります。 例えば、 日付・取引先をキーに、「売上」「値引」を持たせたテーブルとする場合 などです。このようなテーブルでは、値引きをしなかった取引については、「値引」を０とする持ち方とNULLとする持ち方ができます。 どっちがいいのだろうか？というのが今回の命題です。 ケース想定として、ある日にＡ、Ｂ、Ｃの３社と取引があり、うちＡ、Ｂ２社にだけ値引きをしたとします。その日に取引のないＤ社というのもあるとします。 そ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiskayano.hatenadiary.org%2Fentry%2F20110323%2F1300882922&quot; title=&quot;メジャーのNULLと０の扱い。　『書きかけ』 - SQLServer BI への讃美歌&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-03-23 21:22:02</published>
  <title>メジャーのNULLと０の扱い。　『書きかけ』</title>
  <type>rich</type>
  <url>https://iskayano.hatenadiary.org/entry/20110323/1300882922</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
