What Stocks Are in the DAX 40?
SAP's US line: price move vs dividend contribution by yearranking ·
2026-09-26 · 10×4
Dividend dates per year: SAP's US line vs Coca-Colaranking ·
2026-09-26 · 10×3
How a 15% weight cap bites in a market-cap-weighted basketranking ·
2026-09-26 · 8×4
RSP vs SPY: Equal Weight S&P 500
Cap weight versus equal weight across a ten name basketseries ·
2026-09-26 · 10×5
RSP share volume: each quarter's heaviest session against its medianseries ·
2026-09-26 · 11×6
RSP and SPY price paths, both indexed to 100 in January 2019series ·
2026-09-26 · 92×5
Calendar year price change, RSP against SPY, first close to last closeranking ·
2026-09-26 · 15×4
How QQQ Holdings Are Weighted, and Capped
QQQ volume on the December reconstitution Friday against the rest of the monthranking ·
2026-09-26 · 10×4
Average daily dollar volume, non-technology Nasdaq-100 members, trailing three monthsranking ·
2026-09-26 · 12×2
Market value of the largest Nasdaq-100 securities, and each one's share of the groupranking ·
2026-09-26 · 11×3
SAP's US line: price move vs dividend contribution by year
SAP's US line: price move vs dividend contribution by year
| year | price_return_pct | dividend_pct | total_return_pct |
|---|---|---|---|
| 2016 | 12.04 | 1.69 | 13.74 |
| 2017 | 30.2 | 1.59 | 31.79 |
| 2018 | -11.42 | 1.47 | -9.95 |
| 2019 | 35.1 | 1.69 | 36.79 |
| 2020 | -4.69 | 1.27 | -3.43 |
| 2021 | 8.41 | 1.75 | 10.16 |
| 2022 | -27.02 | 1.84 | -25.18 |
| 2023 | 48.67 | 2.15 | 50.82 |
| 2024 | 63.91 | 1.59 | 65.5 |
| 2025 | -0.09 | 1.08 | 1 |
the exact SQL behind every number
WITH yearly AS
(
SELECT
toYear(date) AS fiscal_y,
argMin(toFloat64(close), date) AS first_close,
argMax(toFloat64(close), date) AS last_close
FROM global_markets.stocks_daily_aggs
WHERE ticker = 'SAP'
AND date >= '2016-01-01'
AND date < '2026-01-01'
GROUP BY fiscal_y
),
cash AS
(
SELECT
toYear(ex_dividend_date) AS fiscal_y,
sum(toFloat64(cash_amount)) AS dividends
FROM global_markets.stocks_dividends
WHERE ticker = 'SAP'
AND ex_dividend_date >= '2016-01-01'
AND ex_dividend_date < '2026-01-01'
GROUP BY fiscal_y
)
SELECT
toString(y.fiscal_y) AS year,
round(100 * (y.last_close - y.first_close) / y.first_close, 2) AS price_return_pct,
round(100 * c.dividends / y.first_close, 2) AS dividend_pct,
round(100 * (y.last_close - y.first_close + c.dividends) / y.first_close, 2) AS total_return_pct
FROM yearly AS y
LEFT JOIN cash AS c ON c.fiscal_y = y.fiscal_y
ORDER BY year
More from this analysisWhat Stocks Are in the DAX 40?
Dividend dates per year: SAP's US line vs Coca-Cola
ranking 10×3
→
How a 15% weight cap bites in a market-cap-weighted basket
ranking 8×4
→
Where a listed Germany fund's volume sits on the New York clock (Jun to Aug 2026)
ranking 8×3
→
Quarterly third Friday volume against the trailing 20 session average
series 14×5
→
See all 2,767 queries →