Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I am relatively new with PowerBi. I have loaded and performed basic formating, cleanup and created visuals. I want to visualize some state wide school data where with over 90 columns of decimal data mixed with either N/A or N<10 or both. I need the data type to be decimal and not text. How I handle or represent the (N/A) and the (N<10) that exist in practically every column across the entire model?
If you want to replace only "N/A" and "N<10" with null, try this:
RemoveText = Table.TransformColumns(
Source,
{"Total Pct Met", each if List.Contains({"N/A", "N<10"}, _) then "" else _}
)
If you want to replace all text values with null, try this:
RemoveText = Table.TransformColumns(
Source,
{
"Total Pct Met",
each
if
let
result = try Number.From(_) otherwise "Text",
resultType = if result = "Text" then "Text" else "Number"
in
resultType = "Text"
then
""
else
_
}
)
Sample data:
Result:
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 5 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 14 | |
| 14 | |
| 10 | |
| 8 | |
| 8 |