๐Ÿ“Š We use cookies & analytics to improve your experience. Learn more
Latest

Power BI & Business Analysis Module 4 ยท Lesson 11 of 15

0% Exit to course

Module 4 ยท DAX for harder questions Lesson 11 of 15

Distinct counts and semi-additive measures

Learning objective

Some numbers must not be added across time: a headcount of 100 in January plus 100 in February is not 200 people. Distinct counts and the latest-value pattern keep those numbers honest.

Worked example

DISTINCTCOUNT(fact_sessions[user_id]) counts unique users; averaging it across days is wrong unless the report says "average daily users".

Your practice task

Create a distinct-count measure for users and a month-end measure for headcount, and explain in the tooltip why they are not summed.

Do this before moving on. Reading a solution teaches the shape of it; typing it teaches you.

Key takeaway

Some numbers must not be added across time: a headcount of 100 in January plus 100 in February is not 200 people. Distinct counts and the latest-value pattern keep those numbers honest.

Create free account or sign in

Almost there

15 lessons left of 15

Finish every lesson to unlock the certificate. Each one ends in a practice task โ€” do them and the final project brief writes itself.

Next recommended course Data Analytics with SQL & Excel