Im trying to convert the count_contribution column to a percentage
here is my code
Combined%>%
group_by(`Processing Server`)%>%
summarise(Transaction_count = n(), Face_value = sum(FaceValue))%>%
mutate(Count_contribution = Transaction_count/sum(Transaction_count))%>%
fmt_percent(columns = Count_contribution,decimals = 1)
in the Face_value column, I want to add currency
and in the count column, I want to add (,) to the count
I want it to look like this table
This is the error I'm getting below in markdown.
Error: The object to data
is not a gt_tbl
object.