DimGroupCustomer Table
╔═══════════════╦═══════════╦══════════════╗
║ CustomerGroup ║ Customer ║ GroupCardKey ║
╠═══════════════╬═══════════╬══════════════╣
║ A ║ Customer1 ║ ACustomer1 ║
║ A ║ Customer2 ║ ACustomer2 ║
║ B ║ Customer1 ║ BCustomer1 ║
║ B ║ Customer3 ║ BCustomer3 ║
║ C ║ Customer4 ║ CCustomer4 ║
║ C ║ Customer5 ║ CCustomer5 ║
╚═══════════════╩═══════════╩══════════════╝
FactSale Table
╔═════════╦══════════════╦════════╗
║ Invoice ║ GroupCardKey ║ Amount ║
╠═════════╬══════════════╬════════╣
║ 1 ║ ACustomer1 ║ 100 ║
║ 2 ║ BCustomer3 ║ 200 ║
╚═════════╩══════════════╩════════╝
I write a "BoughtSomething?" measure and the result looks like
╔══════════════╦═════════════════╗
║ GroupCardKey ║ BoughtSomething ║
╠══════════════╬═════════════════╣
║ ACustomer1 ║ YES ║
║ ACustomer2 ║ NO ║
║ BCustomer1 ║ NO ║
║ BCustomer3 ║ YES ║
║ CCustomer4 ║ NO ║
║ CCustomer5 ║ NO ║
╚══════════════╩═════════════════╝
But I don't want to see no effective customer group at all. I tried but failed. Please help me to get the report like this one.
╔══════════════╦═════════════════╗
║ GroupCardKey ║ BoughtSomething ║
╠══════════════╬═════════════════╣
║ ACustomer1 ║ YES ║
║ ACustomer2 ║ NO ║
║ BCustomer1 ║ NO ║
║ BCustomer3 ║ YES ║
╚══════════════╩═════════════════╝