Forum Discussion
Anonymous
6 years agoNot applicable
Eliminate the overlapping data
Hello, I want to show the count of new clients and existing clients (by using cards) and filtered by month (using slicer), and here is an example of the issue. Sample data: Date Client Clie...
- 6 years ago
Try this:
Existing Clients = var _existing = CALCULATETABLE(DISTINCT('Client List'[Client]), 'Client List'[Client Type (Calculated Column)] = "Existing Client") var _new = CALCULATETABLE(DISTINCT('Client List'[Client]), 'Client List'[Client Type (Calculated Column)] = "New Client") return COUNTROWS(EXCEPT(_existing, _new)) New Clients = CALCULATE( DISTINCTCOUNT('Client List'[Client]), 'Client List'[Client Type (Calculated Column)] = "New Client" )Bless you!
Vivek
Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter
FarhanAhmed
6 years agoCommunity Champion
You can do it by
1- Add Client Type as Visual Filter to show only New or Existing Client
2- You can create a measure that amitchandak created.