Due to data privacy, I am required to show asterisks (****) when a metric is under a certain group size. As a result, I need to transform my numbers into a string.
The issue is the decimal places that are show in the final table. Because I transform the number into a string, I need to specify the number of characters I want left. If I say 4 characters, I will either get 12.3% or 4.80%, which visually isnt great for my users. Is there any way to just show 12.3% and 4.8%, i.e. the tenth decimal place?
ifelse(sum(ifelse({month_end_date}<=${Month End},{Group 1 HC},0)) >= 4 , concat(coalesce(left(toString(round(sum(ifelse( {month_end_date}<=${Month End},{Group 1 HC},0))/max(ifelse({month_end_date}<=${Month End},{Total HC},0)) * 100,1)),4), β0.0β), β%β) , β****β )