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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
PMSR
Frequent Visitor

Total Count of a specific text value from multiple columns

Total Count of a specific text value from multiple columns.

 

I want total count of Arun from below multiple columns.

20230725_133003.jpg

1 ACCEPTED SOLUTION
eliasayyy
Memorable Member
Memorable Member

hello i made dummy data

annonymous1999_0-1690275320642.png


go to power query and add custom column 

=Text.Combine(Record.FieldValues(_), " ")

 

annonymous1999_1-1690275367638.png


now add a new custom column in power query again 

List.Count(Text.Split([Custom], "Arun")) - 1

 

annonymous1999_2-1690275403998.png

make sure to change type of lastest column to whole number

load your data and do the measure

Occurrences of Arun = 
SUM(Test[Custom.1])

 

annonymous1999_3-1690275524674.png

 

 

View solution in original post

1 REPLY 1
eliasayyy
Memorable Member
Memorable Member

hello i made dummy data

annonymous1999_0-1690275320642.png


go to power query and add custom column 

=Text.Combine(Record.FieldValues(_), " ")

 

annonymous1999_1-1690275367638.png


now add a new custom column in power query again 

List.Count(Text.Split([Custom], "Arun")) - 1

 

annonymous1999_2-1690275403998.png

make sure to change type of lastest column to whole number

load your data and do the measure

Occurrences of Arun = 
SUM(Test[Custom.1])

 

annonymous1999_3-1690275524674.png

 

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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