I'm trying to figure out how to display one attribute column in percentages. I've created a new field inside the attribute table and proceeded with:
concat("column with numbers to be changed in percentage", '%')
But the output displays NULL
. Any insight on what I may be doing wrong?
Best Answer
Given decimal values in a double precision column (or other), you can use an expression to:
In a label expression, this is what I would do:
(my percent column is called "rating")
I use the label expression rather than creating a new column of otherwise redundant data.
Here I've added both the original column and the percent-formatted column on two lines of the label: