Four-Step Dimensional Design Process 1. ビジネスプロセスの選択。(Select the business process) 2. 粒度を宣言する。(Declare the Grain) 3. ディメンションを特定する。(Identify the dimensions) 4. ファクトを特定する。(Identify the facts)
Four-Step Dimensional Design Process 1. ビジネスプロセスの選択。(Select the business process) 2. 粒度を宣言する。(Declare the Grain) 3. ディメンションを特定する。(Identify the dimensions) 4. ファクトを特定する。(Identify the facts)
Four-Step Dimensional Design Process 1. ビジネスプロセスの選択。(Select the business process) 2. 粒度を宣言する。(Declare the Grain) 3. ディメンションを特定する。(Identify the dimensions) 4. ファクトを特定する。(Identify the facts)
Four-Step Dimensional Design Process 1. ビジネスプロセスの選択。(Select the business process) 2. 粒度を宣言する。(Declare the Grain) 3. ディメンションを特定する。(Identify the dimensions) 4. ファクトを特定する。(Identify the facts)
Four-Step Dimensional Design Process 1. ビジネスプロセスの選択。(Select the business process) 2. 粒度を宣言する。(Declare the Grain) 3. ディメンションを特定する。(Identify the dimensions) 4. ファクトを特定する。(Identify the facts)
先月の広告クリック数を、広告掲載メディア別で見る SELECT d_media.media_name, sum(fct_clicks.click_amount) AS click_amount FROM fct_clicks INNER JOIN dim_media ON fct_clicks.media_key = d_media.media_key INNER JOIN dim_date ON fct_clicks.order_date_key = d_date.date_key WHERE d_date.day_of_month = 6 GROUP BY 1
さらに学びたい方へ ● ディメンションモデリング ○ https://zenn.dev/pei0804/articles/dimensional-modeling ● Building a Kimball dimensional model with dbt ○ https://docs.getdbt.com/blog/kimball-dimensional-model ● Star Schema The Complete Reference ○ 書籍です。