Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi,
I have a column '공사번호' in Number format but sometimes data uploaders do errors so Text values updated which get errors.
Is there any way I can filter out if there is any not Number values?
Solved! Go to Solution.
Hi @Anonymous
Thank you very much ryan_mayu for your prompt reply.
Below is a detailed Power Query M code example to help you retain only the numeric values in the '공사번호' column:
Here's some dummy data
Load your dataset in Power Query.
In the Power Query editor, click Advanced Editor.
Add the following code:
#"Filtered Rows" = Table.SelectRows(Source, each Value.Is(Value.FromText([공사번호]), type number))
Here is the result.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Thank you very much ryan_mayu for your prompt reply.
Below is a detailed Power Query M code example to help you retain only the numeric values in the '공사번호' column:
Here's some dummy data
Load your dataset in Power Query.
In the Power Query editor, click Advanced Editor.
Add the following code:
#"Filtered Rows" = Table.SelectRows(Source, each Value.Is(Value.FromText([공사번호]), type number))
Here is the result.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
can we filter multiple columns in one code?
first column '공사번호' to number format and second column '준공예정일자' to date format.
@Anonymous
you can try to create a new column
= Table.AddColumn(Source, "Custom", each try Number.From([Column1]) otherwise "")
then filter out the blank rows in the new column
Proud to be a Super User!
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 28 | |
| 28 | |
| 19 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 37 | |
| 29 | |
| 18 | |
| 17 | |
| 15 |