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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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
Anonymous
Not applicable

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
Community Champion
Community Champion

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

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.