Connect Valiyou to Power BI with API
Build automated sponsorship dashboards in Power BI with live data from Valiyou API. This guide covers API key creation, Power BI connector configuration, data transformation, and scheduled refresh setup for real-time sponsorship analytics.Time Required: 60-90 minutes (first-time setup) Prerequisites: Microsoft Power BI Desktop
installed, Professional/Enterprise Valiyou plan Permissions Required: API permission or Admin
access Technical Level: Intermediate (basic Power Query knowledge helpful)
Why Power BI Integration?
Benefits:- 📊 Custom Dashboards: Build sponsor-facing dashboards with your branding
- ⚡ Real-Time Data: Auto-refresh keeps dashboards current
- 📈 Advanced Analytics: Combine Valiyou data with other sources
- 🎯 Self-Service: Sponsors can explore data without asking for reports
- 💰 Scalability: One dashboard template for all sponsors
Integration Architecture
Part 1: Create API Key in Valiyou
Navigate to Platform → APIStep 1: Create Read-Only API Key
- Click “Create API Key” button
-
Fill in form:
- Key Name:
Power BI Integration - Description:
Read-only access for Power BI dashboards - Scopes: Select what data you need
- ☑ Valuations (for metrics)
- ☑ Player Sales (if tracking transfers)
- ☑ Clubs (for organization info)
- Operations: ☑ GET only (read-only)
- Key Name:
- Click “Create API Key”
-
IMPORTANT: Copy API key immediately
- Format:
vly_abc123def456... - Store in password manager
- You cannot view it again!
- Format:
Part 2: Configure Power BI Connection
Step 1: Open Power BI Desktop
- Launch Power BI Desktop
- Click Get Data (Home ribbon)
- Search for “Web”
- Select “Web” connector
- Click Connect
Step 2: Enter API Endpoint URL
Web Dialog Opens:- Select Advanced option (not Basic)
- Enter API endpoint in URL parts:
- Add URL Parameters:
- Skip URL parameters
- Click OK
- In next dialog, select “Web API” authentication
- Add custom header:
- Key:
Authorization - Value:
Bearer vly_YOUR_API_KEY_HERE
- Key:
- Add parameter:
club_id=YOUR_CLUB_ID - Add parameter:
api_key=vly_YOUR_API_KEY_HERE - Click OK
Step 3: Preview and Transform Data
Power Query Editor Opens:- You’ll see JSON data preview
- Click “To Table” button (Transform ribbon)
-
Click “Expand” icon (double arrows) next to
Column1header -
Select fields to include:
- ☑ valuation_date
- ☑ final_total_value
- ☑ calculated_sales_value
- ☑ calculated_media_value
- ☑ tv_viewers
- ☑ social_impressions
- ☑ attendance
- (select all fields you need)
- Click OK
Part 3: Transform and Clean Data
Step 1: Set Data Types
Power BI may not auto-detect types correctly:-
For each numeric column:
- Right-click column header
- Change Type → Decimal Number (for valuations)
- Change Type → Whole Number (for counts like viewers)
-
For date columns:
- Right-click
valuation_date - Change Type → Date
- Right-click
Step 2: Rename Columns
Make column names user-friendly:- Double-click
final_total_valueheader - Rename to:
Total Valuation - Repeat for other columns:
calculated_sales_value→Sales Valuecalculated_media_value→Media Valuetv_viewers→TV Viewerssocial_impressions→Social Impressions
Step 3: Add Calculated Columns
Example: ROI Calculation- Click Add Column ribbon
- Click Custom Column
- Enter formula:
- Name column:
ROI Multiple - Click OK
- Click Add Column ribbon → Custom Column
- Enter formula:
- Name:
Quarter - Click OK
Part 4: Load Data to Power BI
- Review all transformations in Applied Steps (right panel)
- Click Close & Apply (Home ribbon)
- Data loads into Power BI model
- Wait for load to complete (status bar shows progress)
Part 5: Create Visualizations
Dashboard Layout Suggestions:
Top Row - Key Metrics:- Card: Total Valuation (latest quarter)
- Card: Quarter-over-Quarter Growth %
- Card: Total Reach (sum of all impressions)
- Card: ROI Multiple
- Line Chart: Valuation over time (X=Date, Y=Total Valuation)
- Stacked Bar Chart: Sales vs. Media Value by Quarter
- Area Chart: Social Impressions trend
- Pie Chart: Media Value by Channel
- Table: Detailed metrics by date
- Gauge: YoY Growth %
Example: Create Valuation Trend Line Chart
- Click Line Chart icon (Visualizations panel)
- Drag fields:
- X-Axis:
valuation_date - Y-Axis:
Total Valuation - Legend:
Quarter(optional)
- X-Axis:
- Format chart:
- Click Format (paint brush icon)
- Set title: “Sponsorship Valuation Trend”
- Enable data labels
- Adjust colors to match branding
Example: Create Media Breakdown Pie Chart
- Click Pie Chart icon
- Drag fields:
- Values:
Media Value - Legend: Create calculated column for channel
- Values:
- Show percentages in labels
Part 6: Set Up Scheduled Refresh
Option A: Power BI Service (Cloud)
- Click Publish (Home ribbon)
- Select workspace (or “My Workspace”)
- Click Publish
- Open browser to Power BI Service
- Find your report in workspace
- Click ⋯ (ellipsis) next to dataset
- Select Settings
-
Configure Scheduled refresh:
- Frequency: Daily or Hourly
- Time: Set refresh times (e.g., 9 AM daily)
- Send failure notification: Enable
- Click Apply
Option B: Manual Refresh
- In Power BI Desktop: Click Refresh (Home ribbon)
- Data updates from API
- Republish to Power BI Service
- Share updated dashboard
Part 7: Share Dashboard with Sponsors
Method 1: Embed in Web Page
- Publish dashboard to Power BI Service
- Click File → Embed → Publish to Web
- Copy embed code
- Add to sponsor portal website
- Dashboard updates automatically with scheduled refresh
Method 2: Direct Share Link
- In Power BI Service, open dashboard
- Click Share button (top right)
- Enter sponsor email addresses
- Set permissions:
- ☑ Allow recipients to view (read-only)
- ☐ Don’t allow resharing
- Click Share
Method 3: Export PDF
- Open dashboard in Power BI Service
- Click File → Export → PDF
- PDF downloads with current data
- Email to sponsor
Access Control: Power BI Pro license required for each viewer. Alternatively, use Power BI
Embedded or Premium capacity for external sharing without viewer licenses.
Advanced Tips
Combine Multiple Endpoints
Add Player Sales Data:- In Power Query, click New Source → Web
- Enter URL:
https://valiyou.io/api/v1/player-sales?api_key=...&club_id=... - Transform and load
- Create relationships between tables:
- Valuations table:
valuation_id - Player Sales table:
valuation_id
- Valuations table:
- Build cross-table visuals
Parameter for Club ID
Make dashboard reusable for multiple clubs:- In Power Query: Manage Parameters
- Create new parameter:
- Name:
ClubID - Type: Text
- Current Value:
your-club-id
- Name:
- Reference in API URL:
- Duplicate dashboard, change parameter for different club
Add Benchmarks
Show industry averages:- Create manual table with benchmark data
- Enter data → New Table
- Input:
- Use in visuals to compare actual vs. benchmark
Troubleshooting
401 Unauthorized Error
401 Unauthorized Error
Empty Dataset / No Data Returned
Empty Dataset / No Data Returned
Cause: Filters too restrictive or no valuations existFix:
- Remove date filters from API URL
- Verify valuations exist in Valiyou
- Test API URL in browser first
- Check API endpoint is correct (.io not .com)
Refresh Fails in Power BI Service
Refresh Fails in Power BI Service
Cause: API key in query parameter, or gateway issueFix:
- Use header-based auth instead of query param
- For on-premises: Install Power BI Gateway
- Check data source credentials in Power BI Service settings
- Verify firewall allows outbound HTTPS to valiyou.io
Data Types Show as Text
Data Types Show as Text
Cause: Power BI auto-detected wrong typeFix:
- In Power Query, change type for each column
- Numeric columns → Decimal Number or Whole Number
- Date columns → Date
- Close & Apply
Dashboard Examples
Sponsor Quarterly Review Dashboard:- KPIs: Total Valuation, ROI, Reach
- Trend: Valuation line chart (quarterly)
- Breakdown: Media channels pie chart
- Table: Detailed metrics
- Cards: Current quarter valuation
- Gauge: YoY growth %
- Map: Geographic reach (if data available)
- Waterfall: Sales + Media = Total
- Line: Impressions trend
- Bar: Engagement by platform
- Table: Top posts (requires social API integration)
Next Steps
Automate Reports
Use Power BI dashboards for quarterly sponsor reports
Advanced Analytics
Combine with Google Analytics, CRM data for attribution modeling
API Documentation
Explore all available API endpoints and parameters
Custom Calculations
Build DAX measures for complex KPIs (ROAS, engagement rate, etc.)
Related Guides
- Quarterly Sponsor Report - Manual reporting process
- API Keys Management - Full API documentation
- Close First Sponsorship - End-to-end deal flow
Need Help?
Contact Support
Email: support@valiyou.comOur team can help with Power BI connector issues, DAX formulas, and dashboard design best practices.
Power BI Community
Forum: community.powerbi.comFor Power BI-specific questions (not Valiyou API issues)