Troubleshooting¶
Common issues and solutions for the Compliance Dashboard.
Data Issues¶
No Data Showing in Dashboard¶
Symptoms: - All visuals show blank or zero - "No data" message on report pages
Solutions:
-
Verify Dataverse Connection
-
Check Data Exists in Dataverse
- Open Power Apps > Tables
- Verify
fsi_controlmasterrow count matches your loaded control inventory (62 sample / 78 baseline) -
Verify
fsi_controlassessmenthas assessment records -
Refresh Dataset
- Click Refresh in Power BI Desktop
-
Check for errors in refresh dialog
-
Verify Authentication
- Re-enter credentials if prompted
- Ensure account has Dataverse read permissions
Stale Data¶
Symptoms: - Dashboard shows old data - Score date is outdated
Solutions:
- Manual Refresh
- In Power BI Service: Dataset > Refresh now
-
In Power BI Desktop: Home > Refresh
-
Check Scheduled Refresh
- Power BI Service > Dataset > Settings > Scheduled refresh
-
Verify refresh is enabled and scheduled
-
Verify Flow Execution
- Power Automate > CD-ScoreCalculator
- Check last run status and time
Missing Controls¶
Symptoms: - Fewer controls displayed than expected - Specific controls missing from list
Solutions:
- Load Control Master Data
-
Confirm the control master source matches your inventory before rerunning the loader (62 sample / 78 baseline)
-
Verify Control Master Table
- Check
fsi_controlmasterrow count -
Ensure all expected controls present (62 sample / 78 baseline)
-
Check Filter Context
- Clear all slicers
- Remove any report-level filters
Performance Issues¶
Slow Dashboard Loading¶
Symptoms: - Report takes >10 seconds to load - Visuals load sequentially
Solutions:
- Reduce Data Volume
- Filter to recent 90 days instead of all history
-
Use aggregated tables for trends
-
Optimize Measures
- Replace calculated columns with measures
-
Use variables in complex DAX
-
Enable Query Caching
- Power BI Service > Dataset > Settings
-
Enable "Enhanced compute engine"
-
Use Import Mode
- If using DirectQuery, switch to Import
- Schedule regular refresh instead
Slow Refresh¶
Symptoms: - Data refresh takes >15 minutes - Timeout errors during refresh
Solutions:
- Incremental Refresh
- Configure incremental refresh for large tables
-
Only refresh recent data
-
Reduce Query Complexity
- Review Power Query transformations
-
Move complex logic to Dataverse
-
Gateway Performance (if applicable)
- Upgrade gateway hardware
- Configure connection pooling
Flow Issues¶
Score Calculator Flow Fails¶
Symptoms: - No new score records created - Flow shows failed status
Error: "Dataverse connection failed"
Solution:
1. Open flow in edit mode
2. Expand failed action
3. Re-authenticate Dataverse connection
4. Save and test
Error: "Invalid filter expression"
Solution:
1. Verify filter syntax in List rows action
2. Check column names match schema
3. Update filter if schema changed
Error: "Timeout expired"
Exception Monitor Flow Fails¶
Symptoms: - SLA status not updating - No alert notifications sent
Error: "User not found"
Solution:
1. Verify exception owner lookup is valid
2. Check user exists in environment
3. Update orphaned ownership records
Error: "Teams notification failed"
Solution:
1. Verify the Microsoft Teams connection reference is valid (the solution uses the
shared_teams connector with PostMessageToConversation, not incoming webhooks)
2. Re-authenticate the Teams connection in Power Automate > Connections
3. Check that the recipient user has a Teams license and mailbox
4. Verify the Flow bot is not blocked by the recipient
Authentication Issues¶
"Access Denied" Error¶
Symptoms: - Cannot connect to Dataverse - 403 error in Power BI
Solutions:
- Verify User Permissions
- Check user has CD Viewer security role
-
Verify environment access
-
Check Service Principal
- Verify app registration is active
- Check client secret hasn't expired
-
Confirm API permissions granted
-
Conditional Access
- Check if CA policy blocks access
- Verify location/device compliance
"Token Expired" Error¶
Symptoms: - Refresh fails with authentication error - Interactive sign-in required
Solutions:
- Re-authenticate
- Power BI Service > Dataset > Settings
- Click "Edit credentials"
-
Sign in again
-
Service Principal Refresh
- Check client secret expiration
- Rotate secret if expired
- Update connection credentials
Visual Issues¶
Incorrect Calculations¶
Symptoms: - Score doesn't match expected value - Percentages don't add to 100%
Solutions:
- Verify Measure Logic
- Review DAX measure definitions
-
Test with known data
-
Check Filter Context
- Verify slicer selections
-
Check cross-filtering behavior
-
Validate Source Data
- Export data to Excel
- Manually verify calculations
Formatting Issues¶
Symptoms: - Colors not displaying correctly - Conditional formatting not working
Solutions:
- Verify Color Measures
- Check color measure returns valid hex codes
-
Test measure in card visual
-
Apply Formatting Correctly
- Format pane > Conditional formatting
-
Select correct measure for "Field value"
-
Check Visual Settings
- Reset visual to defaults
- Re-apply formatting rules
Deployment Issues¶
Solution Import Fails¶
Symptoms: - Error during Dataverse solution import - Missing dependencies error
Solutions:
- Check Dependencies
- Verify prerequisite solutions installed
-
Check version compatibility
-
Import in Correct Order
- Import base tables first
- Then import flows
-
Finally import dashboard
-
Environment Capacity
- Check Dataverse storage available
- Remove old data if needed
Publish to Power BI Fails¶
Symptoms: - Error during report publish - Workspace not found
Solutions:
- Verify Workspace Access
- Check user has Contributor or higher role
-
Verify workspace exists
-
Check License
- Confirm Power BI Pro license assigned
-
For Premium workspace, verify capacity
-
Network Issues
- Check proxy/firewall settings
- Verify Power BI endpoints accessible
Recovery Procedures¶
Rebuild Score History¶
If score history is corrupted or missing, manually trigger the CD-ScoreCalculator flow for each date or re-run assessments:
# Reload control master data and regenerate sample scores
python scripts/load_sample_data.py --export --force
Reset Exception SLA Status¶
If SLA calculations are incorrect, manually trigger the CD-ExceptionMonitor flow:
# Trigger the CD-ExceptionMonitor flow manually from Power Automate
# Navigate to: Power Automate > CD-ExceptionMonitor > Test > Manually
Restore Control Master¶
If control master data is corrupted:
Support¶
For issues not covered here:
- Check FSI-AgentGov-Solutions Issues
- Review flow run history for detailed errors
- Check Power BI Service activity log
- Contact your Power Platform administrator
Compliance Dashboard v1.0.3