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! It's time to submit your entry. Live now!
Hey guys,
I have a column with both text and numbers, and I need to perform a calculation only for the numbers. I have tough at
if (Value.Is(Value.FromText([ColumnOfMixedValues]), type number) then [#"PCE (ug/L)"]/165.83). Why that doesn't run?
Solved! Go to Solution.
Hi @isamchakur,
You need to escape the special characters in the column name. Please try this one.
if Value.Is(Value.FromText([ColumnOfMixedValues]), type number) then [#"#""PCE (ug/L)"""]/165.83 else 0
Best Regards,
Hi @isamchakur,
You need to escape the special characters in the column name. Please try this one.
if Value.Is(Value.FromText([ColumnOfMixedValues]), type number) then [#"#""PCE (ug/L)"""]/165.83 else 0
Best Regards,
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 47 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 140 | |
| 111 | |
| 63 | |
| 38 | |
| 32 |