CryptoQuant User Guide
English
English
  • 🔍What is CryptoQuant
    • Introduction
      • How We Process Data
      • Why Trust CryptoQuant Metrics?
      • Why Market Driven?
    • Background Knowledge
      • What is On-Chain Data?
      • What are Entities?
      • What is a UTxO?
    • Our Product
  • 🎯QuickStart
    • 5 Minute Data Guide
      • 3 Key On-Chain Metrics
      • 3 Key Market Metrics
      • 3 Key Indicators
      • Deriving Insights
    • 5 Minute Feature Guide
      • 1. Charting Overview
      • 2. Set Alerts
      • 3. Dashboards
      • 4. Quicktake
      • 5. Top 15 Pro Charts
        • Miner Selling
        • Whale Accumulation
        • Large OTC deals
        • Buying/Selling Pressure
        • Market Trend
        • Market Sentiment
        • Whale Dumping
  • 📊CryptoQuant Metrics
    • Exchange Flows/Indicators
      • Exchange In/Outflow and Netflow
      • Exchange Reserve
      • Exchange to Exchange
      • Exchange Addresses Count
      • Exchange Transactions Count
      • Fund Flow Ratio
      • Exchange Supply Ratio
      • Exchange Inflow CDD
      • Exchange Inflow - Spent Output Age Bands
      • Exchange Inflow - Spent Output Value Bands
    • Miner Flows/Indicators
      • Miner Outflow
      • Miner to Exchange
      • Miners' Position Index (MPI)
      • Miner Supply Ratio
    • UTxO Data/Indicators
      • Profit and Loss (UTxO)
      • Profit and Loss (Supply)
      • Coin Days Destroyed (CDD)
      • Binary CDD
      • Mean Coin Age (MCA)
      • Sum Coin Age (SCA)
      • Sum Coin Age Distribution (SCA Distribution)
      • Spent Output Profit Ratio (SOPR)
        • aSOPR (Adjusted SOPR)
        • STH-SOPR
        • LTH-SOPR
        • SOPR Ratio (LTH-SOPR/STH-SOPR)
      • Net Unrealized Profit/Loss (NUPL)
      • UTXO Bands (Age)
        • UTXO Age Bands
        • Realized Cap - UTXO Age Bands
        • Realized Price - UTXO Age Bands
        • UTXO Count - Age Bands
        • Spent Output Age Bands
      • UTXO Bands (Value)
        • UTXO Value Bands
        • Realized Cap - UTXO Value Bands USD
        • UTXO Count - Value Bands
        • Spent Output Value Bands
    • Market Data/Indicators
      • Open Interest
      • Funding Rates
      • Estimated Leverage Ratio
      • Taker Buy Sell Volume/Ratio
      • Capitalization models
      • Realized Price
      • Exchange Whale Ratio
      • MVRV (Market Value to Realized Value) Ratio
    • Network Indicators
      • NVT Ratio
      • NVT Golden Cross
      • Puell Multiple
      • Stock to Flow Ratio
      • Stock to Flow Reversion
      • NVM Ratio
    • Stablecoin Exchange Flows/Indicators
      • Stablecoin Network Data
      • Stablecoin Exchange In/Outflow & Netflow
      • Stablecoin Exchange Reserve
      • Stablecoin Exchange Addresses Count
      • Stablecoin Exchange Transactions Count
      • Stablecoins Ratio
      • Stablecoin Supply Ratio (SSR)
    • Fund Data & Premium
      • Grayscale Bitcoin Trust (GBTC)
        • GBTC Digital Asset Holdings
        • GBTC Premium or Discount
      • Grayscale Ethereum Trust (ETHE)
        • ETHE Digital Asset Holdings
        • ETHE Premium or Discount
      • Coinbase Premium
      • Korea Premium Index
      • Bank Supply Ratio
  • 🛠️Web3 Analytics Tool
    • Overview
    • Cohort Data Navigation
    • Query Data Navigation
    • How to Use(Query Tool)
      • 1. DateTime Aggregation
      • 2. Query Block - Metric
      • 3. Query Block - Where
      • 4. Query Block - Group by
      • 5. Query Block - Join
      • 6. Query Block - Order by
      • 7. Save and Run
      • 8. Editing the Result
      • 9. Visualization
        • Table
        • Pie
        • Serial
        • Number
        • Pivot Table
  • 📌Reference
    • FAQ
    • Community Guidelines
    • Community Links
Powered by GitBook
On this page
  • Where
  • How to use
  • Filter with Metadata
  • How to use

Was this helpful?

  1. Web3 Analytics Tool
  2. How to Use(Query Tool)

3. Query Block - Where

Previous2. Query Block - MetricNext4. Query Block - Group by

Last updated 1 year ago

Was this helpful?

Where

”Where” section is used when you want to apply specific conditions to your query and view summary results for specific addresses, tokens, etc.

How to use

  1. Basic Options

    1. First, select the column that you want to add the filter to. and specify the conditions to apply the filter.

    2. To select columns, you can either select the desired column from the drop-down list that appears when you click the input box, or you can drag the column from the left pane and drop it in the where section.

    3. Once a column has been added, you can select a filter from the list of Basic Filters. This list offers a range of basic filter options, including Greater than, Equal to, In, Is empty, Not empty, Contains, and Between.

    4. Finally, the parameters are entered to complete the conditional expression. The number of parameters required depends on the selected filter, ranging from 0 to 2. Once all parameters are entered, the "where" clause is completed.

  2. Adding another Where

    1. Additionally, you can add another condition by either clicking the "+where" button to add multiple filters, or by dragging another column to the "where" section, which will automatically create another filter.

    2. You can then choose between using an AND or OR operator for the filters.

  3. Custom expression

    1. If you want to use more complex filters, you can click on "Custom expression" at the bottom of the drop-down, and an input field will appear. Here, you can apply filters based on multiple columns or the results of applying arithmetic operations to columns. All queries that are available in BigQuery SQL can be used in this field.

Filter with Metadata

When applying filters, not only can you use data from the original table, but you can also use metadata information. For example, you can retrieve labeling information for a particular address from metadata and use it in your filter conditions.

How to use

  1. Select the column you want to apply the filter to, then choose "Filter with Metadata" from the condition dropdown to utilize both the data and metadata information in the original table.

  2. When you select "Filter with Metadata" in the condition drop-down, an input field will appear that allows you to choose which metadata field to match with, following the "matching with" keyword.

    For example, if the column you want to filter is related to Ethereum addresses, select 'Ethereum Address' in the metadata.

  3. After selecting the matching field, you can enter the filter condition. For example, if you want to filter by the label name of an address, select 'Address Name' and enter the specific condition. For instance, you can enter a condition such as 'Address Name contains Binance'.

🛠️