0
0
SCADA systemsdevops~20 mins

KPI dashboards in SCADA systems - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
KPI Dashboard Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
dax_lod_result
intermediate
2:00remaining
Calculate Total Downtime for a Specific Machine

You have a table MachineEvents with columns MachineID, EventType, and DurationMinutes. You want to calculate the total downtime for MachineID 101 using a DAX measure.

Which DAX expression correctly calculates this total downtime?

ATotalDowntime = CALCULATE(SUM(MachineEvents[DurationMinutes]), FILTER(MachineEvents, MachineEvents[MachineID] = 101 && MachineEvents[EventType] = "Downtime"))
BTotalDowntime = CALCULATE(SUM(MachineEvents[DurationMinutes]), MachineEvents[MachineID] = 101 && MachineEvents[EventType] = "Downtime")
CTotalDowntime = SUMX(FILTER(MachineEvents, MachineEvents[MachineID] = 101 && MachineEvents[EventType] = "Downtime"), MachineEvents[DurationMinutes])
DTotalDowntime = SUM(MachineEvents[DurationMinutes]) WHERE MachineEvents[MachineID] = 101 AND MachineEvents[EventType] = "Downtime"
Attempts:
2 left
💡 Hint

Use CALCULATE with a FILTER to apply multiple conditions.

visualization
intermediate
1:30remaining
Best Visualization for Machine Efficiency Over Time

You want to show the efficiency of a machine over the past 12 months on a KPI dashboard. Efficiency is a percentage value updated monthly.

Which visualization type is best to clearly show trends and monthly changes?

AA pie chart showing efficiency percentages for each month
BA line chart with months on the x-axis and efficiency percentage on the y-axis
CA stacked bar chart showing efficiency and downtime side by side
DA scatter plot with efficiency on the x-axis and months on the y-axis
Attempts:
2 left
💡 Hint

Think about how to best show changes over time.

data_modeling
advanced
2:30remaining
Designing a Data Model for Multi-Machine KPI Dashboard

You need to build a KPI dashboard that shows downtime, production count, and efficiency for multiple machines. Data comes from separate tables: Machines, Events, and Production. Which data modeling approach is best to enable easy KPI calculations and filtering by machine?

AMerge all tables into one large table with all columns combined
BKeep tables separate without relationships and use LOOKUPVALUE in measures
CCreate relationships between <code>Machines[MachineID]</code> and <code>Events[MachineID]</code>, and between <code>Machines[MachineID]</code> and <code>Production[MachineID]</code>, then use <code>Machines</code> as a filter table
DCreate a single table with only machine names and aggregate all data in measures without relationships
Attempts:
2 left
💡 Hint

Think about how relationships help filtering and calculations.

🔧 Debug
advanced
2:00remaining
Identify the Error in a DAX Measure for Average Production

Given this DAX measure to calculate average production per day:

AvgProduction = AVERAGE(Production[Count])

It returns incorrect results when filtered by machine and date. What is the likely cause?

AThe measure does not consider the date context, so averages over all data ignoring filters
BThe <code>AVERAGE</code> function cannot be used on numeric columns
CThe <code>Production[Count]</code> column contains text values causing errors
DThe measure should use <code>SUM</code> instead of <code>AVERAGE</code> to get correct results
Attempts:
2 left
💡 Hint

Think about how context affects aggregation in DAX.

🧠 Conceptual
expert
3:00remaining
Optimizing KPI Dashboard Performance with Large Data

Your KPI dashboard slows down significantly when loading data from millions of SCADA system events. Which strategy will best improve performance without losing important KPI accuracy?

ARemove all filters and show only total KPIs to reduce calculation time
BLoad all raw event data into the dashboard and apply filters dynamically at runtime
CUse complex calculated columns on raw data tables to compute KPIs on the fly
DImplement data aggregation tables that pre-calculate daily summaries for KPIs and use them in the dashboard
Attempts:
2 left
💡 Hint

Think about pre-processing data to reduce load.