Think about which function counts distinct values only.
DISTINCTCOUNT counts unique values, removing duplicates. Other functions count all rows or sum values.
Counting unique products means counting distinct product IDs.
Using DISTINCTCOUNT ensures duplicates are removed and unique products per region are counted.
Removing duplicates before loading data is done in Power Query.
Power Query's Remove Duplicates removes duplicate rows based on selected columns before data loads into the model.
Unique Orders = COUNT(Order[OrderID])What is the main issue?
Unique Orders = COUNT(Order[OrderID])
Think about which function counts unique values.
COUNT counts all rows including duplicates. DISTINCTCOUNT counts unique values and removes duplicates.
Summarize groups rows by unique combinations of columns.
SUMMARIZE groups rows by CustomerID, ProductID, and Date, removing duplicates. COUNTROWS counts these unique groups.