Convert a text field to a decimal number field in power bi

huangapple go评论68阅读模式
英文:

Convert a text field to a decimal number field in power bi

问题

我想将一个看起来是文本的列转换为一个普通数字字段,其中包含带有小数点的数字,以便我可以对该列进行求和。

对于那些看起来是文本但包含数字的列,我已成功将它们转换为十进制数字,但是对于被定义为文本类型且包含带有小数点的数字的列,无法将其转换为十进制数字。

英文:

I want to convert a column that appears to me as text that contains numbers with a decimal point to a field that will be a normal number so that I can sum up the column.

Columns that appeared to me as text and numbers were written in them I was able to convert to decimal numbers, but the column that is defined as a text type and contains numbers with a decimal point does not allow to convert to a decimal number.

答案1

得分: 0

Oh, it's like a magical treasure hunt! 🌟🧚‍♀️

在Power BI中,前往 Startseite -> Daten transformieren,然后在Power Query中将列的类型从文本更改为十进制。

英文:

In Power BI go to Home -> Transform Data and change type of column to decimal from text in Power Query

Convert a text field to a decimal number field in power bi

huangapple
  • 本文由 发表于 2023年7月17日 17:10:48
  • 转载请务必保留本文链接:https://go.coder-hub.com/76702974.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定