Dashboard Configuration
Dashboard Configuration
Section titled “Dashboard Configuration”Proper dashboard configuration ensures your data is displayed effectively and updates reliably. This guide covers all the configuration options available for your Querri dashboards.
Layout Customization
Section titled “Layout Customization”Dashboard layout is the foundation of a great user experience. Querri uses a flexible grid system that adapts to your needs.
Grid System
Section titled “Grid System”The dashboard grid allows you to:
- Position widgets precisely: Drag widgets to any location on the grid
- Resize widgets: Adjust width and height by dragging widget corners
- Snap to grid: Widgets automatically align for a clean appearance
- Overlap prevention: The system prevents widgets from overlapping
Layout Modes
Section titled “Layout Modes”Edit Mode: When editing your dashboard, you can:
- Drag and drop widgets to rearrange them
- Resize widgets by dragging handles
- Add new widgets
- Delete existing widgets
- Configure widget settings
View Mode: When viewing a dashboard, the layout is locked to prevent accidental changes. Users can still:
- Interact with filters
- Drill down into data
- Export visualizations
- Refresh data
Responsive Design Tips
Section titled “Responsive Design Tips”Create dashboards that look great on all devices:
- Start with desktop layout: Design for the largest screen first
- Test on smaller screens: Check how your dashboard appears on tablets and phones
- Stack vertically on mobile: Wide widgets automatically stack on narrow screens
- Prioritize important widgets: Place critical information at the top
- Use appropriate widget sizes: Avoid making widgets too small to be readable
Data Binding
Section titled “Data Binding”Data binding connects your widgets to data sources, ensuring your dashboard displays the right information.
Binding Widgets to Project Steps
Section titled “Binding Widgets to Project Steps”The most common data binding method:
- Select your widget: Click on the widget you want to configure
- Open data settings: Find the “Data Source” section in the configuration panel
- Choose project: Select the project containing your data
- Select step: Choose the specific step that produces the data
- Map fields: If needed, map data fields to widget properties
Dynamic Data Binding
Section titled “Dynamic Data Binding”For advanced use cases, you can create dynamic bindings:
- Parameter-based binding: Change data sources based on user selections
- Date-relative binding: Always show data from “last 7 days” or “current month”
- Calculated bindings: Combine data from multiple sources
Example: Binding a Chart Widget
Section titled “Example: Binding a Chart Widget”1. Add a bar chart widget to your dashboard2. In the widget settings, select "Data Source"3. Choose Project: "Sales Analysis"4. Choose Step: "Step 3: Revenue by Region"5. Map fields: - X-axis: region_name - Y-axis: total_revenue - Color: region_name6. Save the configurationRefresh Settings
Section titled “Refresh Settings”Keep your dashboard data current with refresh settings.
Manual Refresh
Section titled “Manual Refresh”Users can manually refresh dashboard data:
- Refresh button: Click the refresh icon to update all widgets
- Individual widget refresh: Refresh specific widgets independently
- Last updated timestamp: See when data was last refreshed
Automatic Refresh
Section titled “Automatic Refresh”Configure automatic refresh for real-time monitoring:
Refresh Intervals:
- Every 30 seconds (for real-time dashboards)
- Every 1 minute
- Every 5 minutes
- Every 15 minutes
- Every 30 minutes
- Every hour
- Custom interval
Configuration:
- Open dashboard settings
- Navigate to “Refresh Settings”
- Enable “Automatic Refresh”
- Select refresh interval
- Choose which widgets to include in auto-refresh
Refresh Best Practices
Section titled “Refresh Best Practices”- Don’t over-refresh: More frequent refreshes can slow performance
- Consider data update frequency: No need to refresh faster than your data updates
- Disable refresh for static data: Save resources on widgets that don’t change
- Warn users about costs: Frequent refreshes can increase database query costs
Filters and Parameters
Section titled “Filters and Parameters”Filters make your dashboards interactive and personalized.
Adding Dashboard Filters
Section titled “Adding Dashboard Filters”- Create a filter widget: Add a filter widget to your dashboard
- Configure filter type: Choose dropdown, date range, search, etc.
- Define filter values: Set the available options
- Connect to widgets: Link the filter to the widgets it should affect
Filter Types
Section titled “Filter Types”Single-Select Dropdown:
Filter Name: RegionOptions: North, South, East, WestDefault: All RegionsMulti-Select Dropdown:
Filter Name: Product CategoriesOptions: Electronics, Clothing, Food, BooksAllow Multiple: YesDefault: All selectedDate Range Picker:
Filter Name: Date RangeType: Date RangeDefault: Last 30 DaysPresets: Today, Last 7 Days, Last 30 Days, Last Quarter, CustomSearch Filter:
Filter Name: Customer SearchSearch Field: customer_nameMinimum Characters: 3Cascading Filters
Section titled “Cascading Filters”Create dependent filters for more sophisticated filtering:
- First-level filter: Select a category (e.g., “Region”)
- Second-level filter: Show only relevant options (e.g., “Cities in selected region”)
- Third-level filter: Further refine (e.g., “Stores in selected city”)
Default Filter Values
Section titled “Default Filter Values”Set smart defaults to show the most relevant data immediately:
- Current period: Default to current month or quarter
- User-specific: Show data relevant to the logged-in user
- Most common selection: Default to the most frequently chosen option
- All data: Show everything by default and let users filter down
Parameter Configuration
Section titled “Parameter Configuration”Parameters allow for advanced customization and dynamic behavior.
Global Parameters
Section titled “Global Parameters”Define parameters at the dashboard level:
Parameter Name: fiscal_year_startType: NumberDefault Value: 1 (January)Description: Month when fiscal year beginsThese parameters can be used in:
- SQL queries
- Calculated fields
- Widget configurations
- Filter definitions
User-Specific Parameters
Section titled “User-Specific Parameters”Some parameters can be set per user:
- User timezone: Display dates in user’s local time
- User preferences: Remember filter selections between sessions
- User permissions: Show/hide widgets based on access level
Performance Optimization
Section titled “Performance Optimization”Configure your dashboard for optimal performance:
Caching
Section titled “Caching”Enable caching to reduce database load:
- Query caching: Store query results for a set period
- Cache duration: Choose how long to cache (5 min, 15 min, 1 hour, etc.)
- Cache invalidation: Automatically clear cache when data updates
Lazy Loading
Section titled “Lazy Loading”Improve initial load time:
- Load visible widgets first: Below-the-fold widgets load when scrolled into view
- Defer heavy queries: Delay execution of complex queries until needed
- Progressive loading: Show simplified data first, then enhance with details
Query Optimization
Section titled “Query Optimization”- Limit result sets: Only fetch the data you need
- Use aggregated data: Pre-calculate summaries rather than aggregating raw data
- Index your data: Ensure database indexes exist for common queries
- Avoid N+1 queries: Fetch related data efficiently
Advanced Configuration
Section titled “Advanced Configuration”Custom Styling
Section titled “Custom Styling”Apply custom CSS to match your brand:
/* Custom dashboard theme */.dashboard-container { background-color: #f5f5f5; font-family: 'Inter', sans-serif;}
.widget-title { color: #1a1a1a; font-weight: 600;}Embedding External Content
Section titled “Embedding External Content”Add context to your dashboard:
- Markdown widgets: Include formatted text, instructions, or documentation
- Image widgets: Add logos, diagrams, or reference images
- iframe widgets: Embed external web pages or applications
Mobile Configuration
Section titled “Mobile Configuration”Optimize for mobile devices:
- Mobile-specific layouts: Define different layouts for mobile vs. desktop
- Touch-friendly controls: Ensure filters and buttons are easy to tap
- Reduced data: Show summarized data on mobile to improve performance
Configuration Checklist
Section titled “Configuration Checklist”Before sharing your dashboard, verify:
- All widgets display data correctly
- Filters affect the intended widgets
- Refresh settings are appropriate for your data
- Layout looks good on desktop and mobile
- Performance is acceptable (dashboard loads in under 3 seconds)
- Default values make sense for your audience
- Colors and styling are consistent
- Widget titles are clear and descriptive
Next Steps
Section titled “Next Steps”- Sharing Dashboards - Share your configured dashboard with others
- Scheduling & Automation - Automate dashboard updates and reports
- Widget Types - Learn more about widget options
Create dashboards that are not only informative but also performant and user-friendly!