Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |