Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Summarize Text Column in Table to show Total Rows but not Affect Individual Value

I have a table where one of the column is text.

 

I would like to show this on a table and then at the bottom of the column, I want to show total number of rows. To get the total number of rows, I can summarize the column and use COUNT. However, an undesired side effect is, the text values are now replaced with 1.

 

I am expecting this:

 

NameScore
Ann2
Bob3
Cathy5
Dartha7
Eugene11
Total      5                                               28

 

But getting this instead:

NameScore
12
13
15
17
111
Total      5                                               28

 

I would like to keep the name values as is. 

 

 

 

1 REPLY 1
PaulDBrown
Community Champion
Community Champion

@Anonymous 

As far as I'm aware, you cannot achieve the result as you are expecting. You can, however, create a measure along the lines of:

Name count = IF(ISINSCOPE(Table[name]), BLANK(), DISTINCTCOUNT(Table[name]))

 

which will deliver empty values on the name rows and the count on the "Total" Row.

not sure if that works for you, but thought it was worth mentioning.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors