Lantern Tools

brume's Power BI model, drawn

JOINED TO NOTHING — OR ONLY TO EACH OTHER 0 joins out 1 join out 2 joins out 3 joins out fct_ad_demo[gender] → dim_gender[gender] dim_customer[gender] → dim_gender[gender] fct_ad_demo[age_range] → dim_age[age_range] fct_ad_placement[placement] → top_placements[placement] dim_customer[age_range] → dim_age[age_range] fct_ad_placement[platform] → dim_platform[platform_key] dim_customer[heard_from_platform] → dim_platform[platform_key] fct_sessions[channel_key] → dim_channel[channel_key] fct_attribution[channel_key] → dim_channel[channel_key] fct_orders[order_age_bucket] → order_age_bucket_table[order_age_bucket] fct_orders[order_first_product_category] → dim_product_category[product_category] dim_ad[promoted_category] → dim_product_category[product_category] dim_ad_set[campaign_id] → dim_campaign[campaign_id] fct_orders[country_code] → dim_country[country_code] fct_sessions[country_code] → dim_country[country_code] fct_ad_geo[country_code] → dim_country[country_code] dim_customer[country_code] → dim_country[country_code] dim_country[country_name] → top_countries[country] fct_sales[product_id] → dim_product[product_id] fct_sales[product_title] → top_products[product] dim_ad[adset_id] → dim_ad_set[adset_id] fct_ad_geo[ad_id] → dim_ad[ad_id] fct_ad_demo[ad_id] → dim_ad[ad_id] fct_ad_placement[ad_id] → dim_ad[ad_id] fct_sessions[ad_id] → dim_ad[ad_id] fct_orders[date_key] → dim_date[date_key] fct_sessions[date_key] → dim_date[date_key] fct_attribution[date_key] → dim_date[date_key] fct_ad_geo[date_key] → dim_date[date_key] fct_ad_demo[date_key] → dim_date[date_key] fct_ad_placement[date_key] → dim_date[date_key] dim_customer[first_order_date] → acquisition_date[date] fct_ad_geo[date_key] → acquisition_date[date_key] fct_ad_demo[date_key] → acquisition_date[date_key] fct_ad_placement[date_key] → acquisition_date[date_key] fct_orders[customer_id] → dim_customer[customer_id] fct_sessions[customer_id] → dim_customer[customer_id] fct_sessions[transaction_id] → fct_orders[order_id] fct_sales[order_id] → fct_orders[order_id] fct_sessions fct_sessions fct_sales fct_sales dim_customer dim_customer fct_ad_demo fct_ad_demo fct_ad_placement fct_ad_placement fct_orders fct_orders dim_product_category dim_product_category order_age_bucket_table order_age_bucket_table dim_date dim_date dim_ad dim_ad dim_ad_set dim_ad_set dim_campaign dim_campaign dim_country dim_country top_countries top_countries dim_channel dim_channel acquisition_date acquisition_date dim_age dim_age dim_gender dim_gender dim_platform dim_platform top_placements top_placements top_products top_products dim_product dim_product fct_attribution fct_attribution fct_ad_geo fct_ad_geo date_normalization date_normalization moving_average_slicer_table moving_average_slicer_table no_breakdown no_breakdown top_countries_selection top_countries_selection top_placements_selection top_placements_selection top_products_selection top_products_selection metrics metrics cohort_formulas cohort_formulas common_formulas common_formulas filter_top_items_formula filter_top_items_formula main_measures main_measures moving_average_formula moving_average_formula normalize_cg normalize_cg quick_calendar_slicer quick_calendar_slicer time time cohort_breakdown cohort_breakdown cohort_metrics cohort_metrics dynamic_measures dynamic_measures main_breakdown main_breakdown main_metrics main_metrics acquisition_ROI APRP avg_days_to_second_order avg_lifetime_orders avg_ltv_profit avg_ltv_revenue cohort_customers cohort_repeat_rate contribution_profit cp_per_cust ltv_cac ltv_customers ltv_orders ltv_profit ltv_repeat_customers ltv_repeat_profit ltv_revenue median_ltv_profit normalized_contribution_profit profit_per_cohort_customer projected_repeat_gross_profit repeat_customer_share normalization_multiplier selected_days selected_year_month am_cpa am_purchases atrm cac clicks cpc cpm ctr daily_spend demo_am_purchases demo_clicks demo_impressions demo_spend ex_am_purchases ex_clicks ex_impressions ex_spend female_spend_ratio geo_am_purchases geo_cac geo_clicks geo_impressions geo_spend impressions instagram_spend_ratio marketing_efficiency normalized_spend placement_am_purchases placement_clicks placement_impressions placement_spend spend spend_measure_used spend_ytd us_spend_ratio vertical_spend_ratio attribution_gap capture_rate channel_overclaim_ratio ga4_net_revenue ga4_orders meta_am_purchases meta_attributed_revenue overclaim_ratio shopify_net_revenue shopify_orders AOP AOV cogs customers daily_net_revenue discounts dynamic_gross_profit_per_customer dynamic_gross_profit_per_net_revenue dynamic_gross_profit_per_order dynamic_net_revenue_per_customer dynamic_net_revenue_per_order dynamic_orders_per_customer first_order_AOP first_order_AOV first_order_gross_profit first_order_revenue gp_margin gross_profit gross_profit_mtd max_dataset_date min_dataset_date net_revenue net_revenue_ma net_revenue_rt_year net_revenue_yoy_% new_customer_revenue new_customers new_customers_mom_% normalized_gross_profit normalized_net_revenue normalized_new_customers orders profit_per_cust_rt refund_rate refunded_orders refunds repeat_customers repeat_customers_%_(with_time_bucket) repeat_customers_rt% repeat_gross_profit repeat_order_share repeat_orders repeat_profit_per_cust_rt repeat_rate repeat_revenue selected_days_with_sales shipping_revenue taxes discount_rate dynamic_gross_profit_per_unit dynamic_net_revenue_per_unit dynamic_units_per_customer dynamic_units_per_order gross_sales hero_product_share lead_product_share sales_cogs sales_gross_profit sales_net_revenue spend_per_unit units_per_order units_sold add_to_cart_rate avg_session_duration_s bounce_rate bounces checkout_rate converted_sessions matched_orders orders_from_sessions page_views pages_per_session repeat_visitors session_conversion_rate session_order_revenue sessions sessions_yoy web_orders web_revenue blank_measure measures depending on nothing (1) gross_profit_rt net_revenue_% net_revenue_(distributions) net_revenue_rt new_customers_% orders_% placement_spend_(distributions) repeat_customers_rt spend_% spend_(distributions) HOW TO READ ME1 join outa freckle = a measure · the grey tail = its copiesfact tables sit on the middle disca dot = a tablea rope = a join · the thick end is the many sideeach ring out = one more join awayHover anything: it tells you its name.Click a dot: its related tables and measures light up, everything else steps back. Ctrl-click adds.HOW BIGsmallbigstored data · the bigger, the palerHOW THICKfewmanykey values crossing the joinTHE ROPESa join · thick end = the many sidekeys find nothingflows both waysswitched offA DOT'S COLOUR — WHERE ITS TABLE COMES FROMa databasecomputed from other tablestyped in by handa calculation groupa field parametersource unresolvedWHAT GREW ON ITbarnacles = Power Query steps past the basic twothorns = calculated columns, one spike eachan inner ring = incremental refresh · counts as loaded in the fileThe side lists hold the tables joined to nothing.

44 tables · 39 joins · 161 measures · 10 MB stored

Open in the toolDraw your own model

brume is a synthetic online shop: generated orders, customers, web sessions and Meta ads, built on BigQuery and modelled in Power BI the way a working model is, with a measures table, calculation groups and field parameters.

What the drawing shows

Where to get the sample

Click the brume disc on the landing page and the model opens in the tool. The tool's second tab, Measure lineage, draws what each of its 161 measures stands on, down to the tables: the calculation groups show as the chain a measure passes through.

What the Lantern tools told me about a Power BI model in one hour is one hour on this model with both drawings, step by step, ending in what is good about it and what to improve.

Draw your model