Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 3367 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi everyone,

I have a field for for hourly rates, price per unit is $100, however, subsequent hours are half of the original unit price ($50)

I need a auto calculation that reflects the actual amount, based on the number of hours inputted. (e.g. 5 hours = $300)

I'm raking my brains on how to perform such calculations. Anyone can shed some light to me?

Appreciate it!

 

Posted (edited)

Case 

time>1 ; ((time-1)*50)+100 ; 
time<1; time*100 ;
time=1; 100;
time = "";""
)

 

something like that?

make field "time" and calculated "price", un-tick  don't replace...

Edited by Alex Lxj
  • Like 1
Posted

I have a field for for hourly rates, price per unit is $100

Rates change as time goes by, so hopefully you do have a field for HourlyRate that looks up the current rate. Then you can calculate the amount as =

0.5 * HourlyRate * ( HoursWorked + Min ( HoursWorked ; 1 ) )

 

 

I need a auto calculation

Why not a calculation field?

Posted
 

Why not a calculation field?

It's a CPU hog? It does not perform well on WAN deployments.

Posted (edited)

Calculation fields are still a drag in FileMaker 11 for WAN delpoyments; may or may not be better in latest version of FileMaker.

Do you run WireShark on your solutions to test bandwidth distribution?

Edited by ggt667
Posted

Case( 
  time > 1; ( ( time - 1 ) * 50 ) + 100 ; 
  time < 1; time * 100 ;
  time = 1; 100;
  time = "";""
)

This piece made me a bit curious: time = "";""
I'd believe

 

  time = "";0
would make more sense as you are working with numbers, or are you using "" as empty value?

Posted (edited)

Calculation fields are still a drag in FileMaker 11 for WAN delpoyments;

If you are observing any difference in performance between a stored calculation field and a Text/Number field with auto-entered calculated value, then either your observation is wrong, or you have news that belong on the front page, not in a footnote to this question.

Edited by comment
  • Like 2
Posted (edited)

If you are observing any difference in performance between a stored calculation field and a Text/Number field with auto-entered calculated value, then either your observation is wrong, or you have news that belong on the front page, not in a footnote to this question.

Do you run WireShark on your WAN deployments to test bandwidth distribution?

Edited by ggt667

This topic is 3367 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.