General Caster is here. Get rid of formula columns!

Thanks for your lovely feedback, @aholtzhauer . :blush:
Thatā€™s anyway something your should ask to monday.com. :grinning:

3 Likes

I do have one formula question that I couldnā€™t seem to figure outā€¦ currently have a setup where there are two people columns (ā€œCurrently Working Onā€ and ā€œCAD Designerā€), and wanted one columnā€™s person to be casted to the other people column but only if a different columns status (ā€œCurrent Stageā€) contained something. I actually got it via:

IF(ISNUMBER(SEARCH("CAD",{project's Current Stage})),{project's CAD Designer})

However, if I ever take the CAD Designer column and unassign a person and not assign anyone, it doesnā€™t ā€œassign no oneā€ to the other columnā€¦ so if someone was there before, they remain there. Is it possible to clear this out?

And in the opposing direction, how would one instead append a person to the column? Iā€™m imagining something like:

IF(...,{project's Currently Working On}+{project's CAD Designer})

Not sure if ā€œ+ā€ is the proper operator here. EDIT: Yeah shouldā€™ve thought this through betterā€¦ canā€™t reference a column that Iā€™m trying to cast a value to as it creates a loop. Still stuck on how to append a person to a people column though. :sweat_smile:

Thanks Rob!

Hi @rob
Firstly I am very new to Monday so apologies for what maybe a rookie question
@george_planit asked a similar question on 24 June and I have reviewed the documentation to which you referred him.

My problem
I have items which have several subitems. The subitems have a formula cell calls ā€œstatus pointā€ that calculate subitem status ā€œpointsā€ when the subitem status reaches ā€œDoneā€ using this formula

SWITCH({Name},ā€œDetailingā€,10,ā€œAOS Checkingā€,100,ā€œAOS Revisionā€,1000,ā€œCFS Checkingā€,10000,ā€œCFS Revisionā€,100000)*if({Status}=ā€œDoneā€,1,0)

Subitems status points are summarised on the parent item and I want to use the total of these points in an automation to update the Parent status, which I cant do as Monday does not support summary fields in automation

So I have ben trying to use GC to cast the summary value into a number column that could then use in an automation

When I change the GC automation to reference a normal text or number field on the parent item the value is cast correctly by GC- For example {board name} works fine.

If I reference a summary field of a regular sub item number column ie {Jobā€™s Subitems Numbers} (numbers being a vanilla number column in the sub item) it works fine

However the summary of a subitem formula field does not cast

I have tried SUBITEMS.SUM({Jobā€™s Subitems Status Points}) and {Jobā€™s Subitems Status Points}, but neither work.

Does GC work on summary field of formula columns or is this a limitation

Each of my sub items are sequential steps in a process and I want the parent status to reflect status of the most recent process- As I said I am a rookie so there maybe be a simple way to do this but if there is I cant find it- All and any help appreciated
Thanks
Steve

Hey @SteveinAU
The formula should work. Try and cast the result into a temp Text column (it accepts any value) to check whatā€™s actually casted.
AFAICS you are using a custom automation/integration, that actually uses only the ā€œactionā€ part of GC. I guess itā€™s something new and available for some accounts only, as I canā€™t use it. cc @dipro

hi Rob,

It looks like this feature (using endpoint from apps in custom automations) is starting to roll out to specific accounts. I can see in my logfiles that some accounts are calling my appā€™s action endpoints without going through the subscribe endpoint (custom trigger). This causes a real headache.

Are you experiencing the same?

/Bas

1 Like

Oooh, I didnā€™t know that, in this case, it skips the auth process. Thatā€™s a problem!
It canā€™t work without authorization.

Hi @rob ,
Thanks for the reply
I found another method to achieve what I need without formula fields
When I first set up the automation the screen was yellow. I am not sure how I managed to get the integration automation over to the automations section (White). From memory it just appeared in the automations section. I deleted the automation when developed the new method and I have tried to recreate this morning but there is no ā€œperform formulaā€ option in automations so I cant see how I could have created that automation in the automation section- Beginners luck :slight_smile:

So I set up this one now

Work Points is a summary column of a subitem formula column and DT Status is a text column.

The result of the automation is a blank in DT Status

If I modify the formula to select non formula summary column or non formula column it works as
expected
These are the fields I have available in GC to select

image

Note point budget and Point Budget and Points Bal are formula fields and not available in GC for selection in a formula

I guess the feature is in A/B testing, so itā€™s not available for all and could disappear.

Formula columns are not supported because the value you see is calculated client-side and itā€™s not available as input in General Caster.

@rob How can the formula ENCODEURL work with a column.
It only find that works with ENCODEURL(ā€œhello helloā€) but does not work with ENCODEURL("{itemā€™s name}") or ENCODEURL({itemā€™s name})

Hey @elena
ENCODEURL({itemā€™s name}) should work.
Just make sure you are using the correct column reference by clicking on the corresponding column button at the bottom of formula field.

Hi @rob no it does not work. I have tried lots of times, with lots of columns and doing it as you say.

@rob
Results:

  1. #value! when i use ENCODEURL({itemā€™s Nombre completo mentor})
  2. A6 when i use ENCODEURL("{itemā€™s Nombre completo mentor}")

@elena
You donā€™t need to wrap the column reference between the double quotes, so the first version is correct.

ENCODEURL({itemā€™s Nombre completo mentor})

ENCODEURL function requires a string as parameter, so I guess the raw value you pass is not accepted.
Just force the value to passed as string with one of the following options:

ENCODEURL(CONCATENATE("", {itemā€™s Nombre completo mentor}))

or

ENCODEURL(TEXT({itemā€™s Nombre completo mentor}, "0"))

@rob We want to be able to sort data from the timetracker data log, so that we can pull time logged this month, last november etc.

Is that something you can do with General Caster?

Hey @AdamCPU
Please explain your request.
General Cast can already retrieve summary data from a Time Tracking column, but logs are not supported at the moment.

Hey @rob

I need to change a progress column based on a status column change. I currently have a mirrored column providing me with a value I need presented as the status column to drive the progress column.

I was wondering if there is any way General Caster can help?

As per monday.com documentation, Progress column cannot be updated by General Caster (and any other app).

Hey @rob I need to push 2 days of ā€œTarget Finish Dateā€ column if ā€œtarget finish dateā€ falls weekend.

For example if Today is 26th January , 2022 (wednesday) and Dead Line Days(number) is 4, the result is in ā€œTarget Finish Dateā€ Column should be 1 February (Tuesday) 2022 and NOT 30 January (Sunday) 2022, pushing 2 days further because we donā€™t work on the weekends.

I tried this formula ā€œRIGHT(LEFT(CONCATENATE(WORKDAY({Start Date}, ({Deadline Days}))), 15), 11)ā€ IT works great couldnā€™t convert this function to general caster
Or this formula also doesnā€™t work on general caster WORKDAY({itemā€™s Start Date}, {itemā€™s Deadline Days})

Some how Target Finish Date(Date) returns ā€œ1 Jan, 1970ā€ no matter what the ā€œStart Dateā€ is and not 1 February 2022

When I do debug with the Text it returns number like ā€œ44594ā€ ā€œ44584ā€ etc. I am thinking format issues but could you tell me where I am going to add days format so date column would understand as a date.

Found it !
TEXT(WORKDAY(DATEVALUE({itemā€™s Start Date}), {itemā€™s Deadline Days}), ā€œYYYY-MM-DDā€)

1 Like

Glad to know the formula works.
Yes, after your calculations, you need to convert a date value into the correct format in order to be accepted by a Date column.
Thereā€™s a section about it in GC documentation at https://generalcaster.app/website/documentation/formula/#date.