Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a combo chart, that has calculated year dimension
(
SUM(IF(
FLG_ULT_INST='1' AND
FLG_ATIVO_ES='1' AND
FLG_ATIVO_EN='1' AND
FLG_USADO_SCORE_ES='1' AND
FLG_USADO_SCORE_EN='1' AND
(DES_STATUS_DES_FINAL='Aprovada' or DES_STATUS_DES_FINAL='Recusada') AND
DAT_FIM_REQUISICAO_FMT <= MonthEnd(AddMonths(Today(), -1)), CUR_LIMITE_REQ))
+
SUM(
IF((LEFT(COD_PROPOSTA,2)='AM' OR LEFT(COD_PROPOSTA,2)='RM')
AND
DAT_FIM_REQUISICAO_FMT <= MonthEnd(AddMonths(Today(), -1)),CUR_LIMITE_REQ))
)
/1E6