Skip to main content
The multi-line “your asset vs competitors” chart in the Profound app is one call. Add asset_name to dimensions to get per-asset rows, and use an in filter to limit to the assets you care about.
Don’t average daily rows to derive a period score — they’re computed differently. See Conventions & gotchas.

How this example works

  1. dimensions: ["date", "asset_name"] — one row per (date, asset).
  2. filters with in operator — limit to a hand-picked set of assets. Without the filter you’d get every asset in the category.
  3. Pivot the response into one series per asset before plotting.

Picking which competitors to plot

To avoid hardcoding asset names, fetch the top-N leaderboard first, take the top 5 by score, and feed those names into the in filter on this call.