LogoLogo
Platform
  • Welcome to Infinity - AI Powered Data Analytics tool.
  • Interactive Quick Start Guide
  • Comprehensive User Guide
    • 1. Connecting Your Data
      • Uploading Files as a Datasource
      • Connecting to Databases and Cloud Data Sources
      • AI-Powered Data Definition Wizard
      • Managing Data Sources
      • Supported Data Connectors
    • 2. Charts
      • Creating Charts
        • AI Chart Builder
        • Drag-Drop Builder
        • Data Explorer
      • Chart Customization
        • Chart Configuration Basics
        • Intent and Its Role in Chart Generation
        • Modifying Selected Data Sources and Tables
        • Understanding and Editing the SQL Query
        • Changing the Chart Type
        • Modifying Data Components
        • Using Pivoting for Multi-Dimensional Analysis
        • Applying Filters
        • Customizing Chart with Advanced Editor Panel
          • Styles
            • Chart Background
            • Titles
            • Legend
            • Grid
            • X-Axis
            • Y-Axis
            • Secondary Y-Axis
            • Series
          • Sharing
          • Prompts
          • JS (Code Mode)
        • Using AI Chatbot for Quick Modifications
      • Featured Chart Examples
        • Line/Bar/Column/Scatter Chart
        • Combo Chart
        • Stacked Area/Bar/Column Chart
        • 100% Stacked Column/Bar/Area Chart
        • Pie Chart
        • Metric Chart
        • Bubble Chart
        • Geo Chart
        • Geo with Makers Chart
        • Sankey Chart
        • Histogram Chart
        • Annotation Chart (ToDo)
        • Table Chart
        • Tree Map Chart
        • Timeline Chart (todo)
        • Gauge Chart (todo)
        • Custom Charts
      • Managing Charts
      • Accessing Charts
      • Chart Actions
    • 3. Storyboards
      • Creating Storyboards
      • Storyboard Customization
      • Managing Storyboards
      • Accessing Storyboards
      • Storyboard Actions
    • 4. Feed Page
    • 5. Curated Page
    • 6. Beacons: Working with Unstructured Data
      • Beacon : Basics
      • Creating Beacons
      • Accessing Beacon Data
      • Managing Beacon
    • 7. User and Access Management
      • Inviting Colleagues
      • Approving Join Requests
      • Roles
      • Orgs
      • Distribution Lists
      • Layouts
    • 8. Site Customization
    • 9. Subscriptions
      • Scheduled Emails
      • Event Based Notifications (Alerts)
      • Managing Alerts and Scheduled Emails
    • 10. Profile and settings
    • 11. Making the Most of Infinity's AI-Powered Features
    • 12. Advanced Topics
      • Chart Variables
      • Custom Computes for Event Based Subscriptions
      • Drill-down or Reference Charts
      • Custom XLS Template
      • Custom PPT Template
      • Editing the Chart JavaScript
    • 13. Getting Additional Help
      • Video Resources
      • Best Practices
      • FAQs
        • Error while creating chart
        • User not able to access Charts
        • Unable to Create a DataSource
        • Hard Reset/Reloading the browser
      • Contact Support
  • Topics to address
Powered by GitBook
On this page
  1. Comprehensive User Guide
  2. 2. Charts
  3. Chart Customization

Understanding and Editing the SQL Query

The SQL section is where you can view, modify, and execute queries that define the dataset used for chart visualization.

PreviousModifying Selected Data Sources and TablesNextChanging the Chart Type

Last updated 2 months ago

Key Features of the SQL Section

1. Editing the SQL Query

  • The SQL query displayed here is either:

    • AI-generated based on the selected intent and data sources.

    • User-defined if imported from the Data Explorer flow.

  • Users can modify the query manually if they need to adjust the dataset.


2. Executing the SQL Query

  • Click "Execute" to run the query.

  • The system will process the query using the syntax of the selected data source.


3. Viewing the Query Results

  • The Data Table section displays the results of the executed query.

  • This provides a preview of the dataset before applying it to the chart.


4. Handling Errors & Fixing Issues

  • If there is a syntax error, an error message will be displayed.

  • The system will provide a prompt to fix the error.

  • You can manually edit the query or use the AI assistant for corrections.


5. Applying the Query to the Chart

  • Once the query is error-free, click the "Apply" button.

  • This step is mandatory as it provisions the dataset for chart customization.

📌 Without applying the dataset, the chart cannot proceed to customization.


6. Navigating Back to Data Explorer

  • Clicking the "Explorer" button takes you back to the Data Explorer flow.

  • This allows users to refine their dataset before finalizing the chart.


Next Steps: Customizing Your Chart

Once the query is successfully applied, you can move to the Chart Customization section to configure the visualization settings. 🚀