Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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 screenshot.
Power BI displays the count at the bottom but switches the detail values to the individual count. In this case 1.
Any suggestion would be greatly appreciated !!!
Solved! Go to Solution.
ConcatX =
VAR __temp =
CALCULATETABLE ( 'Table (2)', 'Table (2)'[Column2] <> BLANK () )
RETURN
IF (
HASONEVALUE ( 'Table (2)'[Column1] ),
CONCATENATEX ( 'Table (2)', 'Table (2)'[Column2], " | " ),
COUNTROWS ( __temp )
)
Proud to be a Super User!
Measure =
VAR __temp =
CALCULATETABLE(
'Table',
'Table'[Priority] <> BLANK()
)
RETURN
COUNTROWS(__temp)
Proud to be a Super User!
Hi Chris, thank you for your suggestion, but we need the count value at the bottom of the DONE column. Identical to how Excel displays it. Any suggestions ?
ConcatX =
VAR __temp =
CALCULATETABLE ( 'Table (2)', 'Table (2)'[Column2] <> BLANK () )
RETURN
IF (
HASONEVALUE ( 'Table (2)'[Column1] ),
CONCATENATEX ( 'Table (2)', 'Table (2)'[Column2], " | " ),
COUNTROWS ( __temp )
)
Proud to be a Super User!
Excellent; It worked perfectly. Thanks !!!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
68 | |
60 | |
51 | |
36 | |
35 |
User | Count |
---|---|
84 | |
71 | |
56 | |
45 | |
43 |