How to apply custom formatting like "%" and "$" to the values in the pivot table based on the column name

Hi, I am trying to find a way that I can format my values of the pivot table based on the column they are under. The primary problem for me is that I have integers like counts, currency values, percentages all under the same column in my dataset. Sample of my dataset looks like below.

Screenshot 2024-04-17 at 7.25.21 AM

And currently the pivot table in my dashboard looks like this.

Profit Percentage Total Value
Item current comparison delta current comparison delta
Item-1 40.2 40.11 0.1 31,513,261.29 40,843,593.51 -9,330,332.21
Item-2 40.99 41.23 -0.24 34,327,840.32 39,550,982.97 -5,223,142.64
Item-3 40.96 40.86 0.1 37,998,175.99 47,103,787.03 -9,105,611.03
Item-4 41.81 42.18 -0.36 12,551,208.56 17,776,975.11 -5,225,766.54
Item-5 38.91 37.08 1.83 3,692,078.11 2,570,127.86 1,121,950.25
Item-6 0 0 0 0 0 0

I’m trying to achieve a pivot table that has proper formatting for the currency vs percentages vs counts based on the column(metric) they are under. Is there a way I could achieve this?

So far, I was trying to apply currency formatting to the measure and it messes-up the percentages and counts. I also tried to format them in the direct query that is populating my dataset which made those into strings and that did not help as they can no longer be added as values to the pivot table.

Hi @tnmatta
do you have different measures? You can format each dateset field.


Can you share the pivot table field definition?
BR

I have all the values in a single measure. Current, Comparison & Delta that you see in dataset are my measures. Here’s the Pivot table definition.

Hi @tnmatta
did you try the format option?
BR

Yes, but the format applies to all the values in the measure which include counts, dollar amounts and percentages.

Can you create different measures?

Hi @tnmatta, I am marking this reply as, “Solution,” in case you need further assistance with your problem, please create a sample dashboard with sample dataset showing your problem state using Arena and please create a new post, so we can look at it from a fresh perspective. (Details on using Arena can be found here - QuickSight Arena)