Forum Discussion
Sbudd
5 years agoHelper II
Issue with a count
Hi I have this DAX code: Count of id 8 = CALCULATE( COUNT(Table[id]), FILTER(Table,Table[code] ="8") ) It was working fine but now it just produces blanks no idea what ha...
- 5 years ago
Hey Sbudd ,
can you show the content of the table 'Table'?
In general I would not use filter and I would also use countrows:
Count of id 8 = CALCULATE( COUNTROWS(Table), Table[code] = "8" )If you need any help please let me know.If I answered your question I would be happy if you could mark my post as a solution โ๏ธ and give it a thumbs up ๐Best regardsDenisBlog: WhatTheFact.biFollow me: twitter.com/DenSelimovic
selimovd
5 years agoMost Valuable Professional
Hey Sbudd ,
can you show the content of the table 'Table'?
In general I would not use filter and I would also use countrows:
Count of id 8 =
CALCULATE(
COUNTROWS(Table),
Table[code] = "8"
)
If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution โ๏ธ and give it a thumbs up ๐
Best regards
Denis
Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic