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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 60 | |
| 45 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 109 | |
| 108 | |
| 39 | |
| 30 | |
| 27 |