Percentage of total in calculated field

Hi Team
I have calculated percentage of total using calculated field like this

percentOfTotal
(
sum(Unitprice),
[{Category_l1}]
)

these same thing i have calculated using table calculation

in the table calculation is working fine but i have droped calculatd field in the same table its showing by default 1

can anyone help me on the same

finally i need to show top 1 category per unit cost in percentage in card

thanks
B Vinod kumar

Hello @vinodkumarb, when you say you dropped the calculated field from the table are you referring to the unit price field that your percent of total calculation is based on? If so, that field will be required in the table so that your calculated field can reference it. Instead of removing it, you can hide it from the display.

Also, what exactly do you mean by top category per unit cost? You want to show the percentOfTotal value for the category that has the highest value? With a little more information, I can try to guide you further.

Hello @vinodkumarb, are you able to follow-up with some more information based on the questions that I asked above? If we do not hear back from you in 3 days, I will archive this topic. Thank you!