Power BI Simulator — Learn DAX & Build Dashboards

🏠 Home עברית English 中文
🎨 Theme
🖥 Display
🏀 SQL simulator ← Home 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 (Calculated Column)

📚 Examples (row 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)

🔗 Manage table relationships (Relationships)

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

📊 Data preview — Tables Preview

📋 Fields — NBA Data
👆 Long-press a field to drag it
🔗 Manage table relationships
⚡ + 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 a chart or Slicer
Saved bookmarks:
No bookmarks yet
← Click a visualization in the left panel
26 visualizations available:
Bar · Line · Pie · KPI · Map · Treemap · Funnel · and 19 more
📄 Page 1
📊 Visualizations
Build a visual
Bars
Lines
Pie
Doughnut
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