Distinct count with condition

hello everyone, I want to create a chart that breaks down by credit card and the metric is the number of customers with transactions. The problem is that I have the following table:

Credit Cardid_numtransaction_date
Credit Card11001-01-2023
Credit Card11001-01-2023
Credit Card213null
Credit Card31201-02-2023

as you can see in the table, the customers are repeated. How can I create a parameter or make it count only the customers with transactions and avoid repetitions?

2 0 97
0 REPLIES 0
Top Labels in this Space