Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Solved! Go to Solution.
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.
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.
Sorry forgot to include some dummy data.
Try in countIF Function
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
71 | |
70 | |
43 | |
31 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |