Create a Percentage formula in Revit

Create a Percentage formula in Revit

brianwclayton1969
Collaborator Collaborator
3,426 Views
12 Replies
Message 1 of 13

Create a Percentage formula in Revit

brianwclayton1969
Collaborator
Collaborator

Good afternoon Revit people,

Is there any way to create a "Percentage formula" calculation in Revit for the schedules?

I was looking in the Schedules under "Formatting" and Calculate totals, nothing made sense.

Is there something simple I'm just missing.

Thanks

 

 

0 Likes
3,427 Views
12 Replies
Replies (12)
Message 2 of 13

barthbradley
Consultant
Consultant

I don't understand what you want to do? Can you provide an example? 

0 Likes
Message 3 of 13

Yien_Chao
Advisor
Advisor

Hi

 

There is No need to create a new category for this. Just filter them by any distinctive type parameter would be enough.

0 Likes
Message 4 of 13

ToanDN
Consultant
Consultant

Yes.  Create a Calculated value parameter and choose Percentage instead of Formula.

0 Likes
Message 5 of 13

brianwclayton1969
Collaborator
Collaborator

I appreciate the assistance this is ALOT closer than I was. I have attached a screen shot of the steps. When I plug in the formula it calculates it but the answer is off. Did I do something incorrect plugging in my formulas or parameter?

 

Thanks

0 Likes
Message 6 of 13

ToanDN
Consultant
Consultant

ToanDN_0-1681775471220.png

 

0 Likes
Message 7 of 13

brianwclayton1969
Collaborator
Collaborator

I understand that part, I switched it before to "percentage", but every time it calculates everything to 100%, I need a way for it to divide "ladies" into "total capacity". I know I'm all around it I cannot pin point it. I'm missing something simple.

See attached please on what I did and my outcome.

0 Likes
Message 8 of 13

ToanDN
Consultant
Consultant

@brianwclayton1969 wrote:

I understand that part, I switched it before to "percentage", but every time it calculates everything to 100%, I need a way for it to divide "ladies" into "total capacity". I know I'm all around it I cannot pin point it. I'm missing something simple.

See attached please on what I did and my outcome.


Why don't you share you file here?

 

0 Likes
Message 9 of 13

TripleM-Dev.net
Advisor
Advisor

Hi @brianwclayton1969,

 

So I'm guessing you need the % Ladies Shoes of the total, then switch the fields in the formula:

Ladies / Total = %, and set the format units to percentages.

 

Screenshot 2023-04-19 193517.png

 

- Michel

 

Ps, the Percentage option in a calculation field is to calculate percentages between rows (of totals) not between between columns.

0 Likes
Message 10 of 13

Mike.FORM
Advisor
Advisor

Doing it this way since your calculated parameter is a number you can then go to the formatting tab, select percentage from the list and then select the field format button, you can then change the units, rounding and the unit symbol if you want.

 

@TripleM-Dev.net you beat me too it.

0 Likes
Message 11 of 13

brianwclayton1969
Collaborator
Collaborator

I'm getting the answer close to what I want, I just cant get the decimal to move in the correct direction. I'm following the instructions you all are giving and I'm grateful, what small step am I missing? I removed all the unnecessary columns.

See attached.

0 Likes
Message 12 of 13

ToanDN
Consultant
Consultant

That result is wrong no matter you move the decimal places.  No way 6510 / 13576 = 57.71%.   Share you file here.

 

Here is an example:

 

ToanDN_0-1681931925231.png

 

0 Likes
Message 13 of 13

TripleM-Dev.net
Advisor
Advisor

@brianwclayton1969,

 

How many elements are in the Schedule, if it's more than 1 then this won't work!

Then you need a Percentage field and not a calculated and the "Total Capacity" should have totals enabled.

 

- Michel

0 Likes