Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
All,
I have this dax formula from QQUBE. But it is counting all new customers, but i want to see the ammount of customers that bought something.
If i add a visual filter, it keeps the same number of customers.
How do i add a filter (sales values [sales values, line sales order orginal amount])
Count of New Customers = COUNTROWS ( FILTER ( CALCULATETABLE ( ADDCOLUMNS ( VALUES ( 'SALES VALUES'[LinkToCustomerID] ), "DateOfFirstBuy", CALCULATE ( MIN ( 'SALES VALUES'[Related Date] ) ) ), ALL ( 'SALES VALUES' ) ), CONTAINS ( VALUES ( 'SALES VALUES'[Related Date] ), 'SALES VALUES'[Related Date], [DateOfFirstBuy] ) ))
You may try ALLSELECTED instead of ALL.
It is giving a error
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
96 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |