Welcome! This comprehensive guide will help you quickly get started with the Digital Twin visual for Power BI, featuring advanced navigation, interactive legend, proportional edge width, enhanced tooltips, cross-filtering, and drill-through capabilities.
 
 

📋 Comprehensive Feature Overview

🔍 Enhanced Navigation ✨

  • Fluid zoom and pan with smooth animations
  • Professional on-screen navigation controls
  • Real-time minimap with viewport indicator
  • Smart cursor feedback (grab/grabbing)
  • CAD-like precision for large diagrams

🎨 Interactive Legend System ✨

  • Dynamic legend from actual node colors
  • Click legend items to highlight nodes
  • Works with any categorical field
  • Cross-filtering integration
  • Node count display per category

📊 Proportional Edge Width ✨

  • Edge thickness scales with flow intensity
  • Per-node normalization algorithm
  • Instant bottleneck identification
  • Toggle on/off via format pane
  • Contextual flow visualization

💬 Enhanced Tooltips ✨

  • Flexible “Key: Value” node tooltips
  • Smart edge tooltip fallback system
  • Multi-field support with field names
  • Automatic label generation
  • Backward compatible design

🔄 Advanced Cross-Filtering

  • Bidirectional filtering with tables
  • Individual node/edge highlighting
  • Legend-based category filtering
  • Multi-selection support
  • Enhanced data model with measures

🎯 Power BI Integration

  • AppSource-compliant context menus
  • Rich drill-through capabilities
  • Organized format pane controls
  • Enhanced edge controls with subgroups
  • Professional selection management

📊 Enhanced Data Setup & Requirements

⚠️ Important: All data must be in a single table using a UNION structure with proper NULL handling for optimal performance.

Enhanced Data Model Structure

— Enhanced data structure with all new features ✨
SELECT
    NodeId,
    ‘Status: Running\nType: Machine\nTemperature: 85°C\nEfficiency: 92%’ as NodeTooltip,
    ‘Running’ as LegendColor, — For interactive legend ✨
    NULL as EdgeId, NULL as SourceId, NULL as TargetId, NULL as EdgeTooltip,
    Efficiency as NodeValue, — For cross-filtering
    NULL as EdgeValue
FROM NodesTable
UNION ALL
SELECT
    NULL as NodeId, NULL as NodeTooltip, NULL as LegendColor,
    EdgeId, SourceId, TargetId,
    ‘Type: MaterialFlow\nIntensity: High\nPressure: 2.5 bar’ as EdgeTooltip, — Smart tooltips ✨
    NULL as NodeValue,
    FlowIntensity as EdgeValue — Cross-filtering + proportional width ✨
FROM EdgesTable

Enhanced Data Roles Reference

FieldTypeStatusDescriptionExample
SVG ContentMeasure✅ RequiredSVG markup containing the digital twin diagram<svg>…</svg>
NodeIdCategory✅ RequiredUnique identifier for each nodeM1001, B1201, T1101
Node TooltipCategory✨ Enhanced“Key: Value” multi-line tooltip formatStatus: Running\nType: Machine\nEfficiency: 92%
Legend Color (optional)Category✨ New!Categorical field for interactive legend generationRunning, Maintenance, Offline
Node ValueMeasure🔄 EnhancedBusiness metrics for cross-filtering nodes85.4, 92.1, 79.8
EdgeIdCategory❌ OptionalUnique identifier for each edgeE1001, E1002
SourceIdCategory❌ OptionalSource node for edgesM1001
TargetIdCategory❌ OptionalTarget node for edgesM1002
Edge Tooltip (optional)Category✨ New!Multi-field tooltip with smart fallback systemMultiple fields supported
Edge ValueMeasure🔄 EnhancedFlow intensity for cross-filtering + proportional width85.0, 150.5, 89.1

⚙️ Comprehensive Configuration Guide

Step 1: Prepare Your SVG Content

  1. Create SVG Measure: Ensure your SVG contains valid markup with unique id attributes
  2. Match IDs: NodeId values must match SVG element id attributes exactly
  3. Clean Structure: Use consistent sizing and avoid complex transforms
  4. Neutral Colors: Use neutral SVG colors; let the visual control coloring
  5. Edge-Ready Design: Design edge paths to work well with proportional width scaling
SVG Content =
“<svg width=’800′ height=’600′>
  <rect id=’M1001′ x=’100′ y=’100′ width=’80’ height=’50’ fill=’#cccccc’/>
  <rect id=’M1002′ x=’220′ y=’100′ width=’80’ height=’50’ fill=’#cccccc’/>
  <line id=’E1001′ x1=’180′ y1=’125′ x2=’220′ y2=’125′ stroke=’#999999’/>
  <circle id=’T1101′ cx=’260′ cy=’460′ r=’30’ fill=’#aaaaaa’/>
</svg>”

Step 2: Download Visual and Insert License

📽️ In this video, you’ll learn how to download the Digital Twin visual from AppSource and activate your license.

  1. Download Visual: Download the Digital Twin visual from MS AppSource
  2. Add Visual: Insert the Digital Twin visual into your report
  3. Insert License: Paste your license key into the License section under Format your visual

Step 3: Import Your Data

📽️ This video shows how to prepare your SVG layout and structure your data table.

  1. Prepare Data: Create a single data table combining nodes and edges (see above)
  2. Import Data: Import the SVG (e.g. as .txt) and data table (e.g. as csv.) into Power BI field

Step 4: Connect Data to the Visual

📽️ In this video, you’ll connect your data to the visual and enable navigation and interactivity with other visuals.

  1. Apply Basic Data: Drag SVG content, node ID, and edge ID fields in the respective Visualizations pane
  2. Add Enhanced Data: Add measures to legend and tooltip fields to enrich the visual
  3. Implement Cross-Filtering: Include NodeValue and EdgeValue measures to ensure filtering works across visuals
  4. Visual Navigation: Test the visual navigation features using zoom controls, mini-map or mouse-over

Step 5: Customize Your Nodes

📽️ This video covers how to apply conditional formatting to highlight node insights.

  1. Simple Node Coloring: Select your preferred color for each node in the Nodes section under Format your visual
  2. Or Apply Conditional-Formatting: Set up individual rules to color your nodes by clicking the formula icon

Step 6: Customize Your Edges

📽️ In this video, learn how to customize flows and connections clearly and dynamically.

  1. (De-)select Gradient: Toggle gradient on/off for edge coloring
  2. Customize Format: Adjust opacity, line width, or layer order
  3. Simple Edge Coloring: Select your preferred color for each edge in the Edges section under Format your visual
  4. Or Apply Conditional-Formatting: Set up individual rules to color your edges by clicking the formula icon

Step 7: Create Advanced Tooltip

📽️ This video explains how to display extra context via mouse-over, with either simple or advanced. tooltips

  1. Apply Basic Tooltip: Drag fields into the Tooltip section to apply a basic tooltip
  2. Or Create Advanced Tooltip: Create a custom tooltip page with charts, KPIs, and more
  3. Connect to Visual: Add nodeID or edgeID to the Tooltip field

Step 8: Develop Drillthrough Option

📽️ In this video, learn how to create deep-dive analysis pages for nodes or edges.

  1. Create Detail Page: Create a report page and design customized visuals for detailed insights
  2. Connect to Visual: Add nodeID or edgeID to the Drillthrough field
  3. Test Drillthrough: Right-click a node or edge → Drillthrough to view details

Step 9: Apply Advanced Conditional Formatting

📽️ In this video, you’ll learn how to apply rule-based formatting using combined measures for clearer, priority-based node and edge coloring.

  1. Create Combined Measure: Create a combined measure as a column to reflect multiple conditions (e.g., node status and type)
  2. Conditional Formatting: Set up conditional formatting rules based on the new combined measure
  3. Insert Legend: Insert the same field as a legend to improve clarity and filtering

🎯 Advanced Features Usage Guide

🔍 Enhanced Navigation & Zoom ✨

Mouse & Touch Interactions

  • Mouse Wheel: Scroll to zoom in/out with smooth animations
  • Click & Drag: Pan around with visual cursor feedback (grab/grabbing)
  • Navigation Controls: Use on-screen +, -, and home buttons
  • Reset View: Click home button to smoothly return to original view
  • Minimap Navigation: Click minimap to jump to different areas
  • Viewport Tracking: Watch real-time viewport rectangle in minimap

🎨 Interactive Legend System ✨

Legend Setup & Usage

  1. Setup: Drag any categorical field to “Legend Color (optional)”
  2. Color Reading: Legend automatically reads actual colors from rendered nodes
  3. Click to Filter: Click legend items to highlight corresponding nodes
  4. Visual Feedback: Selected categories highlighted, others dimmed
  5. Cross-Visual: Legend clicks trigger filtering in other visuals
  6. Reset: Click same legend item again to clear highlighting
💡 Pro Tip: Perfect for status monitoring, category filtering, and understanding what node colors represent at a glance.

📊 Proportional Edge Width ✨

Flow-Based Visualization

  1. Data Mapping: Map flow intensity/throughput to Edge Value field
  2. Enable Feature: Format pane > Edges > General > “Proportional Width”
  3. Visual Scaling: Edge thickness automatically scales with data values
  4. Contextual Scaling: Per-node normalization shows relative importance
  5. Bottleneck ID: Instantly identify high-flow connections
  6. Visual Range: 1px minimum to 8px maximum thickness
💡 Business Value: Use for operational dashboards to immediately spot bottlenecks and high-throughput connections in your digital twin.

💬 Enhanced Tooltip System ✨

Flexible Tooltip Configuration

  • Node Tooltips: Use “Key: Value\nKey2: Value2” format in Node Tooltip field
  • Multi-Line Support: Use \n for line breaks in tooltip content
  • Edge Tooltips: Drag multiple fields to “Edge Tooltip (optional)”
  • Smart Fallback: Automatic basic info when no custom fields specified
  • Field Labels: Field names automatically become tooltip labels
  • Rich Content: Support for operational context and business metrics

🔄 Advanced Cross-Filtering

Three-Way Filtering System

  1. Table ↔ Visual: Click table rows to highlight nodes/edges
  2. Legend ↔ Visual: Click legend items to highlight categories
  3. Visual ↔ Other Visuals: Click nodes/edges to filter charts/tables
  4. Multi-Selection: Hold Ctrl and click multiple elements
  5. Clear Selection: Click empty space to reset all selections
  6. Visual Feedback: Highlighted elements full opacity, others dimmed

⚡ Advanced Edge Controls

Organized Format Pane

📁 Edges Section:
  • 🎨 Edge Colors (subgroup): Individual edge colors and gradient controls
  • ⚙️ General (subgroup): Opacity, rendering order, and proportional width
Available Controls:
  1. Enable Edge Gradient: Smooth color transitions between nodes
  2. Proportional Width: Flow-based thickness scaling
  3. Edge Opacity: Transparency control (0-100%)
  4. Show Edges in Foreground: Layering control

🎯 Drill-Through Setup

  1. Create Drill-Through Pages: Set up dedicated detail pages
  2. Add Filter Fields: Include NodeId/EdgeId in drill-through filters
  3. Test Navigation: Right-click nodes/edges to see drill-through options
  4. Empty Space Menu: Right-click empty areas for standard Power BI menu
  5. Verify Context: Ensure filtered context is passed correctly

🔧 Comprehensive Troubleshooting Guide

❌ Enhanced Navigation Issues ✨

  • Check Format pane > Navigation settings for zoom controls and minimap visibility
  • Verify sufficient visual space for navigation controls and minimap
  • Test cursor feedback during pan operations (should show grab/grabbing)
  • Ensure minimap viewport rectangle updates correctly during zoom/pan
  • Test on different screen sizes for responsive behavior

❌ Interactive Legend Problems ✨

  • Verify categorical field is dragged to “Legend Color (optional)”
  • Check that nodes have actual colors (not all default gray)
  • Ensure categorical data contains meaningful, clean values
  • Test legend click functionality for highlighting behavior
  • Verify legend positioning doesn’t obstruct main visual content

❌ Proportional Edge Width Issues ✨

  • Enable “Proportional Width” toggle in Format pane > Edges > General
  • Ensure Edge Value field contains numeric flow data
  • Check that EdgeId, SourceId, TargetId are properly mapped
  • Verify edge data has meaningful variation in values
  • Test that thickness scaling is visually appropriate

❌ Enhanced Tooltip Problems ✨

  • Use “Key: Value\nKey2: Value2” format for Node Tooltip field
  • For Edge Tooltip, drag fields to “Edge Tooltip (optional)” section
  • Test smart fallback when no Edge Tooltip fields specified
  • Check that field names appear as labels in tooltip display
  • Ensure multi-line content displays with proper line breaks

❌ Cross-Filtering Not Working

  • Add Node Value and/or Edge Value measure fields
  • Ensure measure values are populated (not NULL/empty)
  • Test both directions: table → visual and visual → table
  • Test legend-based filtering independently
  • Verify selection triggers highlights (opacity changes)
  • Test with simple single-selection first

❌ Visual Not Displaying

  • Check that SVG Content measure returns valid SVG markup
  • Verify NodeId field is mapped and contains data
  • Ensure SVG element IDs match NodeId values exactly
  • Validate SVG syntax using an online SVG validator

❌ Nodes Not Interactive

  • Confirm NodeId data role is populated
  • Check that SVG elements have matching id attributes
  • Verify elements are not hidden by other SVG elements
  • Test hover effects to confirm element detection

❌ Edges Not Showing

  • Map EdgeId, SourceId, and TargetId data roles
  • Ensure SourceId/TargetId values match existing NodeId values
  • Check edge opacity setting (may be set too low)
  • Verify edge rendering order (foreground vs background)
  • Test with high contrast edge colors first

🎉 Advanced Best Practices

Enhanced Data Modeling ✨

  • Choose meaningful categorical fields for interactive legend
  • Structure tooltips using “Key: Value” format
  • Use flow metrics for proportional edge width
  • Ensure proper NULL handling in UNION structure
  • Test with realistic data volumes

Performance & Navigation ✨

  • Leverage minimap for large diagram navigation
  • Optimize SVG complexity for smooth zoom/pan
  • Test proportional width with realistic flow data
  • Monitor memory usage with enhanced features
  • Use measure fields strategically for cross-filtering

User Experience ✨

  • Use legend clicks for category-based filtering
  • Combine table filtering with legend filtering
  • Design meaningful tooltip content
  • Standardize zoom levels and navigation patterns
  • Test all interaction workflows end-to-end

Advanced Integration ✨

  • Use proportional width for operational monitoring
  • Combine legend filtering with time-series analysis
  • Connect flow data with predictive analytics
  • Create comprehensive multi-modal dashboards
  • Integrate with geographic visuals using shared filtering
🚀 Ready to Get Started? This comprehensive visual transforms static diagrams into interactive digital twin dashboards with professional navigation, intelligent flow visualization, category-based filtering, and rich contextual information!

© LeapLytics GmbH 2025 | Version 1.0.0.5 |
Digital Twin Visual for Power BI