Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello
How can I create a measure to validate the column?
If CODE is a number return Valid and if alphanumeric return Not Valid.
I want to achieve this through the measure, is it possible?
| Code |
| 123456789 |
| 342424224 |
| 24243423FEF3 |
| SD123133131 |
| 21231313 |
| EFWE333324 |
Solved! Go to Solution.
Why do you want to use a Measure ?
I think you need to create a calculated column to define if it's valid or not and then do calculation with measure
Column = IF( ISERROR(VALUE('Table'[Column1])),"not valid","valid")
Why do you want to use a Measure ?
I think you need to create a calculated column to define if it's valid or not and then do calculation with measure
Column = IF( ISERROR(VALUE('Table'[Column1])),"not valid","valid")
| User | Count |
|---|---|
| 49 | |
| 37 | |
| 33 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 132 | |
| 99 | |
| 56 | |
| 37 | |
| 37 |