DAX code
Distinct Customers (High Value Orders) =
CALCULATE(
DISTINCTCOUNT('Sales'[CustomerID]),
'Sales'[Amount] > 1000
)
Counts distinct values of a column, but only for rows that meet a filter condition.
Type your table and column names once. Every measure below updates.
Distinct Customers (High Value Orders) =
CALCULATE(
DISTINCTCOUNT('Sales'[CustomerID]),
'Sales'[Amount] > 1000
)
Replace the condition and column names to count distinct values under whatever rule your analysis needs.
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to Distinct Count with a Condition.