Forum Discussion
InsightSeeker
Helper III
2 years agoValidation of Numeric Values Using DAX in Power BI
Hello, I need help with validating values using DAX to determine if they contain only numeric values. If the value contains only numeric values, it should return TRUE; otherwise, it should re...
- 2 years ago
hi InsightSeeker ,
You can use VALUE function and ISERROR to check whether the text returns a number.
Test = IF ( NOT ( ISERROR ( VALUE ( 'Table'[Value] ) ) ), TRUE (), FALSE () )
danextian
Super User
2 years agohi InsightSeeker ,
You can use VALUE function and ISERROR to check whether the text returns a number.
Test =
IF ( NOT ( ISERROR ( VALUE ( 'Table'[Value] ) ) ), TRUE (), FALSE () )