0
0
Tableaubi_tool~20 mins

Embedded analytics in Tableau - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Embedded Analytics Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
What is the primary benefit of embedded analytics in business applications?

Embedded analytics integrates data visualizations directly into business software. What is the main advantage of this approach?

AUsers can access insights without switching between multiple tools, improving decision speed.
BIt requires users to export data to external tools for analysis, increasing flexibility.
CIt limits data access to only IT specialists, ensuring data security.
DIt replaces all existing business applications with a single analytics platform.
Attempts:
2 left
💡 Hint

Think about how embedding analytics affects user workflow and tool switching.

dax_lod_result
intermediate
2:00remaining
Calculate total sales per customer embedded in a dashboard

Given a sales table with columns CustomerID and SalesAmount, which Tableau LOD expression correctly calculates total sales per customer for embedding in a dashboard?

Tableau
{FIXED [CustomerID] : SUM([SalesAmount])}
ATotal Sales per Customer = SUM([CustomerID])
B)]DIremotsuC[(MUS = remotsuC rep selaS latoT
CTotal Sales per Customer = {FIXED [CustomerID] : SUM([SalesAmount])}
DTotal Sales per Customer = COUNT([SalesAmount])
Attempts:
2 left
💡 Hint

Consider how to keep the filter on CustomerID while summing sales.

visualization
advanced
2:00remaining
Best visualization type for embedded analytics showing sales trends

You want to embed a sales trend visualization in a CRM system. Which chart type is best for showing monthly sales changes clearly?

ALine chart showing sales amount over months
BPie chart showing sales distribution by product category
CBar chart showing total sales by region
DScatter plot showing sales vs. customer age
Attempts:
2 left
💡 Hint

Think about which chart best shows changes over time.

🎯 Scenario
advanced
2:00remaining
Embedding analytics with user-specific data filtering

You embed a dashboard in a web app used by multiple sales reps. How do you ensure each rep sees only their own sales data?

ACreate separate dashboards for each sales rep with hardcoded filters.
BDisable all filters so everyone sees the same data.
CEmbed the full dataset and ask reps to filter manually.
DUse row-level security (RLS) to filter data based on the logged-in user's ID.
Attempts:
2 left
💡 Hint

Think about how to automate data filtering per user securely.

🔧 Formula Fix
expert
3:00remaining
Identify the error in embedding Tableau dashboard with JavaScript API

Review this JavaScript snippet embedding a Tableau dashboard. What error will occur?

var viz;
function initViz() {
  var containerDiv = document.getElementById('vizContainer');
  var url = 'https://public.tableau.com/views/SalesDashboard';
  viz = new tableau.Viz(containerDiv, url, {width: '800px', height: '600px'});
}
window.onload = initViz;
ANo error; the dashboard will embed correctly.
BReferenceError because 'tableau' is not defined (missing Tableau JS API script).
CTypeError because 'containerDiv' is null (missing HTML element with id 'vizContainer').
DSyntaxError due to incorrect object literal syntax in options.
Attempts:
2 left
💡 Hint

Check if all required scripts are loaded before using the Tableau API.