cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
sharpedogs Frequent Visitor
Frequent Visitor

How to count the number of texts in a columns

This must be  a super easy one for someone to answer. 🙂

 

I've got a large column with 100,000 account names. I want to count the number of names that contain "RNAB". I've tried so many DAX options but i always get a syntex error. Please help, this easy ask is driving me crazy... 🙂

1 ACCEPTED SOLUTION

Accepted Solutions
az38 Super Contributor
Super Contributor

Re: How to count the number of texts in a columns

Hi @sharpedogs 

try a measure

Measure = CALCULATE(COUNTROWS('Table');ALL('Table');CONTAINSSTRING('Table'[Column];"RNAB"))

 

do not hesitate to give a kudo to useful posts and mark solutions as solution

LinkedIn

View solution in original post

1 REPLY 1
az38 Super Contributor
Super Contributor

Re: How to count the number of texts in a columns

Hi @sharpedogs 

try a measure

Measure = CALCULATE(COUNTROWS('Table');ALL('Table');CONTAINSSTRING('Table'[Column];"RNAB"))

 

do not hesitate to give a kudo to useful posts and mark solutions as solution

LinkedIn

View solution in original post

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)