Hi I have a dataset field called TOTAL_POR_DEV (numeric field) and I have created a calculated field called RENTA with the following code:
RENTA_POR_DEV + RENTA_IVA_POR_DEV (both are datset numeric fields)
So far so good, now I want to create another calculated field that compares TOTAL_POR_DEV and RENTA, if they are equal put ‘equal’ and if not put ‘not equal’
I have tried the following
ifelse(TOTAL_POR_DEV = RENTA, “equal”, “not equal”)
and
ifelse(round(TOTAL_POR_DEV,0) = round(RENTA,0), “equal”, “not equal”)
This 2 tries sends every output to not equal even when they are equal…
I have tried also
ifelse(sum(TOTAL_POR_DEV) = sum(RENTA), “equal”, “not equal”) and with the respective rounds
when I click on save it does not shows an error but in the table sends an sql error