The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Total Count of a specific text value from multiple columns.
I want total count of Arun from below multiple columns.
Solved! Go to Solution.
hello i made dummy data
go to power query and add custom column
=Text.Combine(Record.FieldValues(_), " ")
now add a new custom column in power query again
List.Count(Text.Split([Custom], "Arun")) - 1
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])
hello i made dummy data
go to power query and add custom column
=Text.Combine(Record.FieldValues(_), " ")
now add a new custom column in power query again
List.Count(Text.Split([Custom], "Arun")) - 1
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])
User | Count |
---|---|
15 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |