0
0
Power BIbi_tool~5 mins

VALUES and DISTINCT in Power BI - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner

What does the VALUES function do in Power BI DAX?

VALUES returns a one-column table that contains the distinct values from the specified column, including blank if present.

Click to reveal answer
intermediate

How is DISTINCT different from VALUES in DAX?

DISTINCT returns a one-column table of unique values from a column but excludes blanks, while VALUES includes blanks.

Click to reveal answer
intermediate

Can VALUES return multiple columns?

Yes, when used on a table, VALUES returns all distinct rows with all columns, not just one column.

Click to reveal answer
beginner

What happens if VALUES is used on a column with no data?

VALUES returns an empty table with no rows.

Click to reveal answer
intermediate

Why might you choose DISTINCT over VALUES in a measure?

You might choose DISTINCT to exclude blank values when you want only actual data values without blanks.

Click to reveal answer

Which function returns distinct values including blanks?

AVALUES
BDISTINCT
CFILTER
DSUMMARIZE

What does DISTINCT return?

AUnique values excluding blanks
BAll values including duplicates
COnly blank values
DAll rows including duplicates

Which function can return multiple columns with distinct rows?

ASUM
BDISTINCT
CCALCULATE
DVALUES

If you want to exclude blank values from your distinct list, which function should you use?

AVALUES
BDISTINCT
CALL
DRELATED

What type of output do both VALUES and DISTINCT produce?

ASingle scalar value
BBoolean true/false
CTable of distinct values
DAggregated sum

Explain in your own words the difference between VALUES and DISTINCT in Power BI DAX.

Think about how blanks are treated and the output type.
You got /4 concepts.

    Describe a real-life scenario where you would use VALUES instead of DISTINCT.

    Consider when blanks are meaningful in your data.
    You got /4 concepts.