Using schedule calculated total in a formula

Using schedule calculated total in a formula

Keith_Wilkinson
Advisor Advisor
12,619 Views
13 Replies
Message 1 of 14

Using schedule calculated total in a formula

Keith_Wilkinson
Advisor
Advisor

Is it possible to use a schedule calculated total in another formula?  



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
Accepted solutions (1)
12,620 Views
13 Replies
Replies (13)
Message 2 of 14

L.Maas
Mentor
Mentor

No, the formulas are row based.

The only possible solution would be to add a parameter to the families. In this parameter you would have to enter the calculated total manually (or automatically through the API). When automating you would risk to create circular references.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

0 Likes
Message 3 of 14

Keith_Wilkinson
Advisor
Advisor

I thought that might be the case.  Pity.

 

Might try doing something with Dynamo instead... ;o)



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
0 Likes
Message 4 of 14

L.Maas
Mentor
Mentor

Dynamo should be a possibility. I understood it should be possible to pull totals from a schedule.

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

0 Likes
Message 5 of 14

Keith_Wilkinson
Advisor
Advisor

My thinking was that I could actually produce the total in dynamo.

 

Mind you I'm saying that with no real idea of what I'm doing or how I'm going to do it.  But I like the idea of at least trying something in Dynamo!  🙂

 



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
0 Likes
Message 6 of 14

Anonymous
Not applicable
Accepted solution

Not to revise an old thread... but, you can extract the calculated total as a percentage and place it in a calculated field on the same row.  To do this; set the field you want the total from to show "calculated totals" under formatting.  Then create a new field to extract the percentage of the total of the field you need the total value from; Make sure you go back to the formatting tab and change the field formatting from percentage to general.  Once that is set up, just create a new field to calculate the total by simply diving the first field by the percentage, it should then give you the total in the field for the row. 

 

Capture2.PNGCapture.PNG

Message 7 of 14

ToanDN
Consultant
Consultant

Brilliant!!

 

I tested it and it works without even changing the Percentage format to General.

 

Capture2.PNG

Message 8 of 14

Anonymous
Not applicable

I know this is an old post, but sometimes gets actual 😛

 

Is it possible to push these "calculated values" in a family tag? I manage to create schedule, I can't find the way to push them in the tag....

 

Thanks!

0 Likes
Message 9 of 14

Anonymous
Not applicable

Only if the original parameter you were getting the calculated total from is a shared parameter. 

0 Likes
Message 10 of 14

Anonymous
Not applicable

Thanks so much for this.. I've been going nuts trying to play with the formula to extract avergae unit area per level! 
I found the other posts quite confusing - yours was the simplest to follow! 

Cheers,

Nidhi

0 Likes
Message 11 of 14

marko.Zeljkovic
Contributor
Contributor
absolutely brilliant. thank you so much.
Hint for posting formulas, rename the parameters to 2 - characters long so its easier to follow. Cheers
0 Likes
Message 12 of 14

RDAOU
Mentor
Mentor

.

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 13 of 14

Keith_Wilkinson
Advisor
Advisor

it's the forum - on any post that I've started, if someone replies, it automatically likes it for me and sets it as the solution - despite multiple requests Autodesk hasn't managed to fix it.  Can't say I'm surprised... 



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
Message 14 of 14

artM23CU
Observer
Observer

Or Autodesk could actually create a not so convoluted way of doing things that it takes forums and 300 hours to create automated schedules based on data already available. This has been a massively annoying exercise which could have been avoided with some simple tools in revit. We pay 3500per year per station and the changes from version to version are inconsequential. There's still no built in way of renumbering items sequentially, and it's been what 20 years now? By the time autodesk fixes this AI will negate the need for revit altogether.

0 Likes