Overview
What is BI integration?
BI Integration automatically syncs your Cube definitions (cubes, measures, dimensions) with connected BI tools, ensuring:- Consistent metrics - Same definitions across all tools
- Automatic updates - Changes propagate automatically
- Reduced manual work - No need to manually update each tool
- Single source of truth - Metrics Store as the authoritative source
Supported BI tools
- Metabase - Connect open-source BI platform
Accessing BI integration
Open BI integration drawer
- Click “BI Integration” button in Metrics Store header
- BI Integration drawer opens showing:
- List of connected BI tools
- Sync status for each connection
- Last sync time and status
- Management actions
Prerequisites
Before setting up BI integration:- ✅ Active project selected
- ✅ Branch selected
- ✅ Server heartbeat status is “RUNNING”
- ✅ Cube definitions are deployed
Creating BI connections
Add new connection
- Click “New BI Connection” in BI Integration drawer
- Select BI tool type from available options
-
Configure connection details:
- Connection name
- Tool-specific settings
- Authentication credentials
- Connection parameters
-
Save connection
- Connection is created and saved
- Initial sync is triggered automatically
- Connection appears in connections list
Connection configuration
Connection name- Descriptive name for identification
- Example: “Tableau Production”, “Power BI Analytics”
- Helps identify connection purpose
- Choose from supported BI tools
- Each tool has specific configuration requirements
- Tool-specific connectors handle synchronization
- Provide credentials for BI tool access
- May include API keys, tokens, or OAuth
- Stored securely and encrypted
- Tool-specific configuration options
- Sync frequency settings
- Data source mappings
- Additional parameters as needed
Managing connections
Connection list
The BI Integration drawer displays:- Connection name - Identifies each connection
- BI tool type - Shows which tool is connected
- Sync status - Current sync status indicator
- Last sync time - When last sync occurred
- Actions - Sync, edit, delete options
Sync status indicators
SUCCESS 🟢- Last sync completed successfully
- Connection is active and working
- Data is up-to-date
- Last sync encountered errors
- Connection may need attention
- Review error messages for details
- Sync is currently in progress
- Wait for completion
- Status will update when done
- Connection has never been synced
- Initial sync may be needed
- Set up connection and sync
Connection actions
Sync now- Manually trigger sync for specific connection
- Useful after schema changes
- Updates BI tool with latest definitions
- Sync all connections at once
- Convenient for bulk updates
- Useful after major schema changes
- Update connection settings
- Modify authentication credentials
- Change configuration parameters
- Remove connection from Metrics Store
- Requires confirmation
- Cannot be undone
Sync operations
Individual sync
Sync a specific BI connection:- Locate connection in connections list
- Click “Sync now” button for that connection
- Wait for sync to complete
- Status updates to show result (SUCCESS or FAILED)
- After making changes to specific cubes
- Testing connection configuration
- Troubleshooting connection issues
- Updating single BI tool
Sync all
Sync all BI connections at once:- Click “Sync all” button in drawer header
- All connections sync simultaneously
- Status updates for each connection
- Results displayed when complete
- After major schema changes
- After deploying new cube definitions
- Ensuring all tools are up-to-date
- Regular maintenance syncs
Sync workflow
What gets synced
When you sync a BI connection, the following are synchronized: Cube definitions- Cube schemas and structures
- Measure definitions and calculations
- Dimension definitions and types
- Time dimension configurations
- Cube descriptions and documentation
- Measure labels and descriptions
- Dimension hierarchies
- Business logic definitions
- New cubes are added
- Modified cubes are updated
- Deleted cubes are removed
- Changes propagate automatically
Sync process
- Initiate sync - User triggers sync (manual or automatic)
- Connect to BI tool - Establish connection using credentials
- Compare definitions - Identify differences between Metrics Store and BI tool
- Apply changes - Update BI tool with latest definitions
- Verify sync - Confirm changes were applied successfully
- Update status - Record sync status and timestamp
Best practices
Connection management
Descriptive names
Clear identificationUse descriptive connection names that indicate purpose, environment, or team.
Regular syncing
Stay updatedSync regularly, especially after schema changes, to keep all BI tools current.
Monitor status
Track sync healthMonitor sync status regularly and address failures promptly to maintain consistency.
Test connections
Validate setupTest connections after setup and after major changes to ensure everything works correctly.
Sync strategy
After schema changes:- Sync immediately after deploying cube changes
- Test in one BI tool first, then sync others
- Verify sync status before considering complete
- Schedule regular syncs (daily or weekly)
- Review sync status during maintenance windows
- Address any failed syncs promptly
- Use separate connections for dev, staging, and production
- Sync dev environment more frequently for testing
- Be cautious with production syncs
Error handling
- Review error messages - Understand why syncs fail
- Check credentials - Verify authentication is still valid
- Test connectivity - Ensure BI tool is accessible
- Verify schema - Check that cube definitions are valid
- Contact support - If issues persist after troubleshooting
Troubleshooting
Common issues
Sync failures
Sync failures
Possible causes:
- Invalid or expired credentials
- BI tool connectivity issues
- Schema validation errors
- Permission problems
- Verify credentials are correct and not expired
- Check BI tool is accessible and running
- Review schema for errors or inconsistencies
- Verify connection has necessary permissions
- Check error messages for specific issues
Slow sync performance
Slow sync performance
Possible causes:
- Large number of cubes to sync
- Network latency issues
- BI tool performance problems
- Complex schema definitions
- Be patient for large syncs
- Check network connectivity
- Verify BI tool performance
- Consider syncing in smaller batches
Connection not working
Connection not working
Possible causes:
- Connection not configured correctly
- Authentication failures
- BI tool not accessible
- Incorrect connection parameters
- Review connection configuration
- Verify credentials and authentication
- Test BI tool accessibility
- Check connection parameters match requirements
- Try recreating connection
Sync status investigation
Check sync details:- Review last sync time
- Check sync status indicator
- Look for error messages
- Verify connection is active
- Try manual sync
- Verify BI tool is accessible
- Check credentials
- Review connection logs
- Ensure cubes are properly defined
- Check for validation errors
- Verify schema is deployed
- Test queries in Cube Playground