Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

DAX formula counting unique columnS

$
0
0
Relatively new to DAX in Tabular SSAS. Looking for a way to count distinct items that have to meet a LEN criteria. Something like this=IF(LEN([COLUMN1] > 4), DISTINCTCOUNT([COLUMN1], 0)))I did concatenate two fields into a calculated column so that piece is good, but sometimes I have only one of the two values that pulls through and I want to omitted those, that's why I am trying to code with LEN. Any thoughts would be greatly appreciated.

Viewing all articles
Browse latest Browse all 1341

Trending Articles