What is a DAX formula to count only those rows that have just one corresponding value in a column?
We can pay vendors in 4 ways - EFT, and 3 types of checks. DISTINCTCOUNT() will give me all the vendors we paid by EFT if I filter by payment method but it doesn't tell me vendors who *only* paid by EFT. I suspect it's some combination of the VALUES() statement, or perhaps I get all the vendors and then subtract those where SELECTEDVALUE() <> "EFT" but I'm hoping there's an elegant construction I missed.
I'm sure we'll next want to be able to list those vendors, so if there's a way to return the VALUES for the vendors that are only paid one way I'd love that too!
We can pay vendors in 4 ways - EFT, and 3 types of checks. DISTINCTCOUNT() will give me all the vendors we paid by EFT if I filter by payment method but it doesn't tell me vendors who *only* paid by EFT. I suspect it's some combination of the VALUES() statement, or perhaps I get all the vendors and then subtract those where SELECTEDVALUE() <> "EFT" but I'm hoping there's an elegant construction I missed.
I'm sure we'll next want to be able to list those vendors, so if there's a way to return the VALUES for the vendors that are only paid one way I'd love that too!