Forum Discussion
Anonymous
5 years agoNot applicable
Help with Switch case
Hi, I have to add custom column called "score".For that i have to add switch case as below: CASE WHEN isnull(N_SUM_of_Absolute_us...) THEN 0 WHEN (N_SUM_of_Absolute_us... NOT NULL) and isnul...
- Anonymous5 years ago
Hi Anonymous
Thank you so much.It worked.
CNENFRNL
5 years agoCommunity Champion
Hi, Anonymous , you may apply such a pattern to your measure,
Measure =
SWITCH( TRUE(),
ISNULL(N_SUM_of_Absolute_us...), 0,
ISNULL(Y_SUM_of_Absolute_us...), 1,
round(N_SUM_of_Absolute_us.../(N_SUM_of_Absolute_us... + Y_SUM_of_Absolute_us...), 4)
)
Anonymous
5 years agoNot applicable
Hi CNENFRNL ,
When am trying to apply that it is showing the below error.
Note : Even i changed the table name.still it showing the same error.
Thanks.