Skip to content

Power Bi Dax Common Patterns

Master Power Bi Dax Common Patterns with 38 free flashcards. Study using spaced repetition and focus mode for effective learning in Data Science.

🎓 38 cards ⏱️ ~19 min Intermediate
Study Full Deck →
Share: 𝕏 Twitter LinkedIn WhatsApp

🎯 What You'll Learn

Preview Questions

12 shown

Difference between calculated column and measure?

Show ▼

Column: computed row-by-row at refresh; stored in model; uses row context.
Measure: computed at query time; aggregates; uses filter context.

Basic measure: total sales?

Show ▼

Total Sales := SUM(Sales[Amount])

Distinct customer count?

Show ▼

Customers := DISTINCTCOUNT(Sales[CustomerId])

Sales for prior year (same period)?

Show ▼

PY Sales := CALCULATE([Total Sales], SAMEPERIODLASTYEAR('Date'[Date]))

YoY % change?

Show ▼

YoY % := DIVIDE([Total Sales] - [PY Sales], [PY Sales])

Year-to-date sales?

Show ▼

YTD Sales := CALCULATE([Total Sales], DATESYTD('Date'[Date]))

Filter to specific category?

Show ▼

Bike Sales := CALCULATE([Total Sales], Products[Category] = "Bikes")

Why use DIVIDE vs / ?

Show ▼

DIVIDE handles divide-by-zero gracefully (returns BLANK or 3rd arg). Slash returns infinity error.

CALCULATE — main effect?

Show ▼

Modifies filter context. Replaces or adds filters before evaluating its expression.

Remove all filters from a column?

Show ▼

CALCULATE([Total Sales], ALL(Products[Category]))

Keep only existing filters from a single column?

Show ▼

ALLEXCEPT(Products, Products[Category]) — clears all filters on Products except Category.

% of total in a visual?

Show ▼

%Total := DIVIDE([Total Sales], CALCULATE([Total Sales], ALLSELECTED()))

🎓 Start studying Power Bi Dax Common Patterns

🎮 Study Modes Available

🔄

Flashcards

Flip to reveal

🧠

Focus Mode

Spaced repetition

Multiple Choice

Test your knowledge

⌨️

Type Answer

Active recall

📚

Learn Mode

Multi-round mastery

🎯

Match Game

Memory challenge

Related Topics in Data Science

📖 Learning Resources