I am using a column formula to create a report that shows what will be invoiced each month (projected out years in advance).
For example, my August 2021 column contains this formula:
if((iscontains( "Invoice Dates",'Aug21')), "Standard Invoice Amount",'' )
The "Invoice Dates" column contains all the dates that a customer will be invoiced. For example a row in the column might say, "Aug19; Aug20; Aug21", and the "Standard Invoice Amount" will be whatever the contract says the customer will be invoiced. This invoiced amount is the same year after year for the life of the contract.
The "Standard Invoice Amount" column is set to the currency data type.
I'd like these formula columns to be able to be edited to the "currency" data type, but I have been unable to. They are automatically set to "plain text". The formula is working, but I cannot edit the data type of the formula column without getting this error message:
"Data Type set for the formula column is not compatible with the output type of the formula".
I've tried the "to_currency" function, but I haven't been able to get it to work properly. I'm not sure if that's where the solution lies or not?
I've also tried replacing the "false" value to a zero, and editing the "Standard Invoice Amount" to ("Standard Invoice Amount"*1), but nothing I have tried is working.
Is there a way to get this formula output to be compatible with the currency data type?
Thank you.