Forum Discussion
Sum data with custom suffix
Hey,
i'm trying to make my report a little bit more user-friendly by adding a custom suffix (in this case GB to show that my numbers are in Gigabytes). I added the suffix via the PowerQuery Editor:
= Table.TransformColumns(#"GeƤnderter Typ", {{"DriveSize", each Text.From(_, "de-DE") & " GB", type text}})The problem is, that this changes the data format to "Text", which makes it impossible to calculate with. Does PowerBI have a feature similar to Excel, where i can add user defined formats for numbers or is there any other way?
Thanks!
5 Replies
- sturlawsResident Rockstar
Hi, Anonymous,
there is no equivalent function in Power BI. You could try to use the concatenate function in a measure, and see if that helps: concatenate(sum(value)," GB")
- AnonymousNot applicable
Hey sturlaws ,
that really helped for the first step. Thanks! Now i wanted to add a thousands seperator. That does not seem to work, since the measure is considered a text, too.
Greetings!
- v-xuding-msftCommunity Support
Hi Anonymous ,
It is not supported to calculate values with suffixes. You need to calculte firstly, then add the suffixes.
You could try the following formula to implement the requirement. But it is still showed as text .
Column = FORMAT('Table'[VALUES],"#,##GB")Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.