Example Use Case: Dynamic Country Population Analysis
Let’s say you’re building a dashboard where analysts need to quickly filter population data for different countries without modifying the underlying SQL query each time. Here’s how the Dashboard Filter would be valuable:Purpose:
Allows users to dynamically select different countries to view their population data
Eliminates the need to write separate queries for each country
Provides a user-friendly interface for non-technical users
Example Custom SQL Query with Variable Filter:
Custom SQL you write:
Custom SQL added with Variable Filter:
Then the Generated SQL we generate would look like this: