Dynamically Calculated Column

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
ekwo
Posts: 15
Joined: Mon Nov 29, 2021 11:16 pm

Dynamically Calculated Column

Post by ekwo »

Hi, I'm trying to add a simple dynamically Calculated Column on a query, but i get this eror
I just want to do something like this : IF BO.ColumnName = 'xxx' then 1 else 0

How do i do this?
Where can I find more about creating calculated columns and what syntax to us in the documentation or in the tutorials?

Evelyn
BLOMASKY
Posts: 1478
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: Dynamically Calculated Column

Post by BLOMASKY »

Computed columns are somewhat limited. No problem with simple calculations, but you can't use IF / ELSE logic. If you need that, I suggest you create a computed column in your Business Object and have a rule to compute it whenever the underlying field(s) change.

Bruce
ekwo
Posts: 15
Joined: Mon Nov 29, 2021 11:16 pm

Re: Dynamically Calculated Column

Post by ekwo »

Thank you for the reply.
So I can't use case when ... , Replace or Decode?
Post Reply