Forum Discussion
jclorenzo
5 years agoFrequent Visitor
COUNTA Result While displaying original data.
We would like to display the total count in a table grid of the COUNTA (Counts the number of records that are not empty) result. But maintain the original text. Similar to the following screensh...
- 5 years ago
ConcatX = VAR __temp = CALCULATETABLE ( 'Table (2)', 'Table (2)'[Column2] <> BLANK () ) RETURN IF ( HASONEVALUE ( 'Table (2)'[Column1] ), CONCATENATEX ( 'Table (2)', 'Table (2)'[Column2], " | " ), COUNTROWS ( __temp ) )
ChrisMendoza
Resident Rockstar
5 years agoConcatX =
VAR __temp =
CALCULATETABLE ( 'Table (2)', 'Table (2)'[Column2] <> BLANK () )
RETURN
IF (
HASONEVALUE ( 'Table (2)'[Column1] ),
CONCATENATEX ( 'Table (2)', 'Table (2)'[Column2], " | " ),
COUNTROWS ( __temp )
)
jclorenzo
5 years agoFrequent Visitor
Excellent; It worked perfectly. Thanks !!!