{"slug":"us-dividend-tax-for-german-investors","qid":"dividend_history","label":"dividend_history","post_title":"us-dividend-tax-for-german-investors","post_url":"/blog/lang/de/us-dividend-tax-for-german-investors#q-dividend_history","columns":["month","quarter_label","abbv_usd","pfe_usd"],"rows":[{"month":"2023-01","quarter_label":"Q1 2023","abbv_usd":1.48,"pfe_usd":0.41},{"month":"2023-04","quarter_label":"Q2 2023","abbv_usd":1.48,"pfe_usd":0.41},{"month":"2023-07","quarter_label":"Q3 2023","abbv_usd":1.48,"pfe_usd":0.41},{"month":"2023-10","quarter_label":"Q4 2023","abbv_usd":1.48,"pfe_usd":0.41},{"month":"2024-01","quarter_label":"Q1 2024","abbv_usd":1.55,"pfe_usd":0.42},{"month":"2024-04","quarter_label":"Q2 2024","abbv_usd":1.55,"pfe_usd":0.42},{"month":"2024-07","quarter_label":"Q3 2024","abbv_usd":1.55,"pfe_usd":0.42},{"month":"2024-10","quarter_label":"Q4 2024","abbv_usd":1.55,"pfe_usd":0.42},{"month":"2025-01","quarter_label":"Q1 2025","abbv_usd":1.64,"pfe_usd":0.43},{"month":"2025-04","quarter_label":"Q2 2025","abbv_usd":1.64,"pfe_usd":0.43},{"month":"2025-07","quarter_label":"Q3 2025","abbv_usd":1.64,"pfe_usd":0.43},{"month":"2025-10","quarter_label":"Q4 2025","abbv_usd":1.64,"pfe_usd":0.43},{"month":"2026-01","quarter_label":"Q1 2026","abbv_usd":1.73,"pfe_usd":0.43},{"month":"2026-04","quarter_label":"Q2 2026","abbv_usd":1.73,"pfe_usd":0.43},{"month":"2026-07","quarter_label":"Q3 2026","abbv_usd":1.73,"pfe_usd":0.43}],"shape":"series","sql":"WITH payments AS\n(\n    SELECT\n        ticker,\n        ex_dividend_date,\n        max(toFloat64(cash_amount)) AS amount\n    FROM global_markets.stocks_dividends\n    WHERE ticker IN ('ABBV', 'PFE')\n      AND currency = 'USD'\n      AND ex_dividend_date >= '2023-01-01'\n      AND ex_dividend_date <  '2026-10-01'\n    GROUP BY ticker, ex_dividend_date\n)\nSELECT\n    formatDateTime(toStartOfQuarter(ex_dividend_date), '%Y-%m')                              AS month,\n    any(concat('Q', toString(toQuarter(ex_dividend_date)), ' ', toString(toYear(ex_dividend_date)))) AS quarter_label,\n    round(sumIf(amount, ticker = 'ABBV'), 4)                                                 AS abbv_usd,\n    round(sumIf(amount, ticker = 'PFE'), 4)                                                  AS pfe_usd\nFROM payments\nGROUP BY month\nHAVING abbv_usd > 0 AND pfe_usd > 0\nORDER BY month","computed_at":"2026-10-08T15:38:42.020325+00:00","elapsed":0.003232682}