SymbologyData
Point-in-Time US Equity Data, Tied to SEC Filings

Taxonomy Tag Drift: why us-gaap:Revenues disappears mid-series

The silent failure

SELECT value FROM facts WHERE concept = 'us-gaap:Revenues' is the first query most people write. It works for some companies and years, and returns nothing, or a different line item, for others. Filers choose among several revenue tags (for example us-gaap:Revenues, us-gaap:SalesRevenueNet, us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax), and the choice changes when accounting standards or taxonomy releases change. The new revenue recognition standard (ASC 606) took effect for public companies for fiscal years beginning after 2017-12-15, and many filers’ revenue tag changed around then.

The result is a series that ends in 2017, restarts under another tag in 2018, and a join that treats them as two different things. A screen on revenue growth then drops the company or compares revenue to a different measure. Nothing errors.

Reproducible proof

For each filer in the sample, list the revenue-style tags it used for full-year, current-period facts and the fiscal years each covers. A filer with two rows whose year ranges do not overlap has drifted:

SELECT cik, concept,
       min(fiscal_year) AS first_fy, max(fiscal_year) AS last_fy,
       count(DISTINCT fiscal_year) AS years
FROM read_parquet('https://data.symbologydata.com/samples/v1/xbrl_pit_fundamentals_sample.parquet')
WHERE fiscal_period = 'FY' AND is_current_period AND NOT is_instant
  AND concept IN (
    'us-gaap:Revenues',
    'us-gaap:SalesRevenueNet',
    'us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax',
    'us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax'
  )
GROUP BY cik, concept
ORDER BY cik, first_fy;

To find filers whose “one tag” series has holes, count how many of the years each filer reported are covered by a single tag:

WITH t AS (
  SELECT cik, concept, fiscal_year
  FROM read_parquet('https://data.symbologydata.com/samples/v1/xbrl_pit_fundamentals_sample.parquet')
  WHERE fiscal_period = 'FY' AND is_current_period AND NOT is_instant
    AND (concept LIKE 'us-gaap:%Revenue%' OR concept = 'us-gaap:SalesRevenueNet')
  GROUP BY ALL
)
SELECT cik, concept, count(*) AS years_with_this_tag,
       (SELECT count(DISTINCT fiscal_year) FROM t t2 WHERE t2.cik = t.cik) AS years_with_any_revenue_tag
FROM t
GROUP BY cik, concept, years_with_any_revenue_tag
HAVING count(*) < years_with_any_revenue_tag
ORDER BY cik;

Rows returned are filers where selecting any single tag would lose years.

The fix

Map concepts to a standardized indicator (revenue, cost of revenue, net income) with a documented precedence per filer and period, and keep the original tag and accession next to the value so the mapping can be audited. Dimensional facts (segments, axes) must be excluded or handled separately, since they share tag names with consolidated totals; the sample contains undimensioned facts only.

Coverage note: sample window is filings from 2015 to 2025 for a curated set of issuers; the tag list above is illustrative, not exhaustive.

Try it live
See which tags a filing used for the same period →