Forum Discussion
Anonymous
2 years agoNot applicable
Count blank
Hello Hope someone can help me. I have two different tables connected by account number Table Accounts shows all my clients name. Table EQ_ Key Facts shows the number of facts we know about cli...
- Anonymous2 years ago
Hi Anonymous
I tested it with your sample.
Create a measure:
Measure = VAR _count = CALCULATE(COUNT('EQ_ Key Facts'[Key Facts]), FILTER('EQ_ Key Facts', [Key Facts] = MAX(Accounts[Accounts]))) VAR _result = IF(_count <> BLANK(), _count, 0) RETURN SWITCH(TRUE(), _result = 0, "0", _result = 1 || _result = 2, "1-2")Output:
Is this the result you expect? If this is not the result you are looking for, please provide the result you are looking for in excel form so we can help you better.
Best Regards,
Yulia XuIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
2 years agoNot applicable
Hi Anonymous
I tested it with your sample.
Create a measure:
Measure =
VAR _count = CALCULATE(COUNT('EQ_ Key Facts'[Key Facts]), FILTER('EQ_ Key Facts', [Key Facts] = MAX(Accounts[Accounts])))
VAR _result = IF(_count <> BLANK(), _count, 0)
RETURN
SWITCH(TRUE(),
_result = 0, "0",
_result = 1 || _result = 2, "1-2")
Output:
Is this the result you expect? If this is not the result you are looking for, please provide the result you are looking for in excel form so we can help you better.
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.