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.
I have a set of license values within a data set. I need to count the amount of customers which have a summarized total of AmountIn and AmountOut equals 0, meaning a lost customer.
So in this table below it would evaluate that only one of the customers is lost (A), since the others still have a balance different from zero.
I am not cracking this one myself...
Hi,
just make a new Measure by using the following dax
Lost_Customer = CALCULATE(COUNTA(Table1[Customer]), Table1[AmountIn] = 0)
@Anonymous wrote:Hi,
just make a new Measure by using the following dax
Lost_Customer = CALCULATE(COUNTA(Table1[Customer]), Table1[AmountIn] = 0)
Thank you Gaurav. However, for customer C the summarized amount is not zero and the customer is not lost. (And I clarified in my description since I understand I was not 100% clear on the summarized values och both In and Out equal to zero.)
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |