Forum Discussion
bipro-atlanta
7 years agoFrequent Visitor
Add commas to a text numeric value
My Dax Concatenates values , but their are some blank values however it adds comma in front when i try to concatenate and try to remove IF(HASONEVALUE('MyTable'[TableID]),(CONCATENATEX( VALUES('...
- 7 years ago
would filtering the blanks do the job?
Measure = IF( HASONEVALUE('MyTable'[TableID]), CONCATENATEX( FILTER(VALUES('MyTable'[MissingDateList]),'MyTable'[MissingDateList]<>BLANK()), 'MyTable'[MissingDateList] , ",", 'MyTable'[MissingDatelist], ASC ) )
Stachu
Community Champion
7 years agowould filtering the blanks do the job?
Measure =
IF(
HASONEVALUE('MyTable'[TableID]),
CONCATENATEX(
FILTER(VALUES('MyTable'[MissingDateList]),'MyTable'[MissingDateList]<>BLANK()),
'MyTable'[MissingDateList] ,
",",
'MyTable'[MissingDatelist],
ASC
)
)