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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
JayKarim
Frequent Visitor

Help - Count of Rows which contain text

Morning all, 

 

I have created a score card, this counts cells in a specific column that contains a 'claim reference number. 

 

The scorecard isn't picking up the claim Reference which has text in it. It picks up cells that have numbers only.

 

How do I get round this problem so it also counts cells with text and numbers?

 

Many thanks in advance

 

Jay  

2 REPLIES 2
v-stephen-msft
Community Support
Community Support

Hi @JayKarim ,

 

Please try to use the COUNTROWS function. It counts the number of rows in the specified table, or in a table defined by an expression.

COUNTROWS([<table>])  

COUNTROWS function (DAX) - DAX | Microsoft Docs

 

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

tamerj1
Super User
Super User

Hi @JayKarim 
You can filter using COTAINSSTRING function. Please provide sample data with the expected result.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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