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! Get ahead of the game and start preparing now! Learn more
I want to create a calculated column in DAX that filters out only the numeric values from a column that contains numbers, strings, and dates....
Example :
MyColumn CalculatedColumn
TestTest --ignore
123 123
01/01/1966 --ignore
569 569
Solved! Go to Solution.
Use the following :
NumericOnly =
VAR Result = VALUE([YourColumnName]) // Attempts to convert to number.
RETURN
IFERROR(Result, BLANK()) // Returns BLANK if conversion fails
Use the following :
NumericOnly =
VAR Result = VALUE([YourColumnName]) // Attempts to convert to number.
RETURN
IFERROR(Result, BLANK()) // Returns BLANK if conversion fails
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |