cancel
Showing results for
Did you mean:

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Regular Visitor

## measure or column to count numeric/alphabet characters

Hello,

I've got a column of data which contains cells that are either numeric or a combination of alpha-numeric.

What I'like to do is to have a measure that looks at the column and does a count of how many cells only contain numeric characters and how many are alpha- numeric. I would display the count of these on two separate cards.

I couldn't work out a way to calculate with a measure cells containing any characters from [A-Z]. If it's not possible is there a good solution to create a calcuated column?

Thankyou

1 ACCEPTED SOLUTION
Community Support

Hi @Liamp ,

Try to create two measure.

``alpha- numeric = COUNTROWS(FILTER('Table',IFERROR(VALUE([Lesson]),BLANK())=BLANK()))``
``only contain numeric = COUNTROWS(FILTER('Table',IFERROR(VALUE('Table'[Lesson]),BLANK())<>BLANK()))``

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.

3 REPLIES 3
Community Support

Hi @Liamp ,

Try to create two measure.

``alpha- numeric = COUNTROWS(FILTER('Table',IFERROR(VALUE([Lesson]),BLANK())=BLANK()))``
``only contain numeric = COUNTROWS(FILTER('Table',IFERROR(VALUE('Table'[Lesson]),BLANK())<>BLANK()))``

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.

Regular Visitor

Sorry forgot to include some dummy data.

Responsive Resident

Try in countIF Function

Announcements

#### New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

#### Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

#### Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors