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.
Greg_Deckler
2 years agoCommunity Champion
Anonymous So like a calculated column in your Accounts table like: COUNTROWS(RELATED('Key Facts')) + 0 ?
Anonymous
2 years agoNot applicable
Greg_Deckler I mention the tables to show that I cannot know the blanks on the key facts
but I think something similat to this will work:
Measure =
CALCULATE(
count(Account table [name]) +0,
EQ_Key_Facts[Comments] == BLANK()
)
but his returns all the accounts, no the ones that are blank
Many thanks for getting back to me!