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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 70 | |
| 55 | |
| 38 | |
| 28 | |
| 22 |
| User | Count |
|---|---|
| 133 | |
| 119 | |
| 54 | |
| 37 | |
| 31 |