Skip to main content
Solved

Setting specific formula based on Driver Field

  • April 9, 2024
  • 2 replies
  • 31 views

Forum|alt.badge.img+3

Hello Everyone,

I am having a hard time with a specific formula. I want to set a formula that will calculate a certain percentage based on what driver is selected in the driver field. 
Example: for the Dispatch % field i need a formula that will go like this. If driver is Dima set Dispatch % to be {Total invoiced} *.13 if Driver is Alex set dispatch % to be {Total invoiced} *.07 Thank you for the help!

Best answer by TheTimeSavingCo

Try something like:

{Total invoiced} * SWITCH( {Driver}, "DIMA", 0.13, "ALEX", 0.7 )

2 replies

TheTimeSavingCo
Forum|alt.badge.img+31

Try something like:

{Total invoiced} * SWITCH( {Driver}, "DIMA", 0.13, "ALEX", 0.7 )

Forum|alt.badge.img+3
  • Author
  • New Participant
  • April 10, 2024

Try something like:

{Total invoiced} * SWITCH( {Driver}, "DIMA", 0.13, "ALEX", 0.7 )

That worked perfectly. Thank you so much!