Power BI Simulator — Learn DAX and Build Dashboards

🏠 home page Hebrew English 中文
🎨 Theme
🖥 display
🏀 SQL simulator ← Main page
𝒇𝒙
DAX

𝒇𝒙 Create a new measure (DAX Measure)

📚 Examples:
AvgPTS = AVERAGE(player_stats[PTS])
TotalAST = SUM(player_stats[AST])
GameCount = COUNTROWS(game_info)
HomeWinPct = DIVIDE(CALCULATE(COUNTROWS(game_info), game_info[result]=1), COUNTROWS(game_info))
MaxPTS = MAX(player_stats[PTS])
⏱ Performance Log ✕
Click "⏱ Performance" to start recording
🔍 Filters Pane ✕
💡 Drag a field from the right panel to one of the Drop zones below.
Filters on this visual
drag a field
Filters on this page
drag a field
Filters on the whole report
drag a field

🌈 Conditional Formatting

📊 Data Bars
🎨 Color Scale
⚙ Rules

⚡ Create a Calculated Column

📚 Examples (row-wise operation!):
Profit = player_stats[PTS] - player_stats[TOV]
FullName = player_stats[player] & " (" & player_stats[team] & ")"
Grade = IF(player_stats[PTS] >= 25, "Star", "Regular")
Performance = SWITCH(TRUE(), player_stats[PTS]>=30, "Elite", player_stats[PTS]>=20, "Star", "Bench")
Index = RANKX(ALL(player_stats), player_stats[PTS])

📊 Create a calculated table (Calculated Table)

📚 Examples:
Top 10 = TOPN(10, player_stats, player_stats[PTS])
Summary = SUMMARIZE(player_stats, player_stats[team], "Avg PTS", AVERAGE(player_stats[PTS]))
Calendar = CALENDAR(DATE(2024,1,1), DATE(2024,12,31))
Numbers = GENERATESERIES(1, 100, 1)
Filtered = FILTER(player_stats, player_stats[PTS] > 25)
Combined = UNION(player_stats, team_stats)
Joined = NATURALLEFTOUTERJOIN(player_stats, team_stats)

🔗 Managing relationships between tables

Define relationships between tables to enable RELATED, RELATEDTABLE, USERELATIONSHIP in DAX formulas.
. → .

📊 Viewing data — Tables Preview

📋 Fields — NBA Data
👆 Long-press a field to drag it
🔗 Managing Relationships Between Tables
⚡ + new calculated table
🏀 game_info
∑game_id
∑season
📅date
Aaway_team
∑away_score
Ahome_team
∑home_score
∑result
⚡+ calculated column
𝒇𝒙+ create new measure
👤 player_stats
Aplayer
Ateam
∑PTS
∑AST
∑TRB
∑STL
∑BLK
∑TOV
∑FGp
⚡+ calculated column
𝒇𝒙+ create new measure
🏆 team_stats
Ateam
∑PTS
∑FGp
∑3P
∑AST
∑TRB
⚡+ calculated column
𝒇𝒙+ create new measure
🔍 Active filters:
None — click on a chart or Slicer
Reserved bookmarks:
No bookmarks yet
← Click a visualization in the left panel
26 available visualizations:
Bar · Line · Pie · KPI · Map · Treemap · Funnel · and 19 more
📄 page 1
📊 Visualizations
Building a visual
columns
lines
cake
donut
KPI KPI
table
area
scatter
42 Card
Gauge
Matrix
waterfall
Slicer
Stacked Col
Stacked Bar
100% Col
Clustered
Stacked Area
Combo
Funnel
Treemap
Ribbon
Multi Card
Map
Filled Map
Decomp Tree
P Parameter
Text Box
Shape
BTN Button
selected: Choose a visualization
📐 Values · fields
Choose a visualization above
To edit fields