Introduction
These two functions help you count items in your data. COUNT counts all numbers or non-blank values in a column. DISTINCTCOUNT counts only unique values, ignoring duplicates. They help you understand how many items or unique items you have.
When you want to know how many sales transactions happened in total.
When you need to find out how many different customers bought products.
When you want to count how many products were sold, including duplicates.
When you want to count how many unique product categories appear in your sales data.
When you want to check how many dates have sales records.