<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>one-ktm</author_name>
  <author_url>https://blog.hatena.ne.jp/one-ktm/</author_url>
  <blog_title>Tech Waves</blog_title>
  <blog_url>https://tech-waves.hakuhodody-one.co.jp/</blog_url>
  <categories>
    <anon>Looker</anon>
    <anon>実務お役立ち</anon>
  </categories>
  <description>こんにちは、北見です🌼今回は、Lookerの標準テーブル計算（Table Calculation）を使用して小計を出す方法と、その応用をご紹介します！ Lookerでサブカテゴリ単位の小計を出したいことってありますよね。一方で、テーブル計算で小計を作成すると、小計が付くのはサブカテゴリの最終行のみで、それ以外の行は NULL になることが多いです。 小計行が最終行のみだと、以下のような場合に困ってしまいます。 各行で「小計に対する割合（構成比）」を出したい サブカテゴリ内の行数が毎回バラバラで、「N行目に小計がある前提」が崩れる 今回は 「小計を作成する」から作ったものを「全行に割り振る」 ま…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech-waves.hakuhodody-one.co.jp%2Fentry%2Flookersubtotal-allocation&quot; title=&quot;Lookerで小計を出して「全行に割り振る」方法 - Tech Waves&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/h/hakuhodody-one/20260507/20260507090002.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-05-07 09:00:00</published>
  <title>Lookerで小計を出して「全行に割り振る」方法</title>
  <type>rich</type>
  <url>https://tech-waves.hakuhodody-one.co.jp/entry/lookersubtotal-allocation</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
