Forum Discussion
Calculated column to add new value
- 4 years ago
Hi,
I am not sure how your DAX formula in the SWITCH function looks like, but please check and try the below.
Instead of writing 1 or 2, please try writing "1" or "2".
Because the column is TEXT data type, 1 and 2 in the column are also TEXT. So, I think, writing in a way of "1" or "2" (inside double quotation mark) might work for your case.
Thanks.
Hi,
I am not sure how your DAX formula in the SWITCH function looks like, but please check and try the below.
Instead of writing 1 or 2, please try writing "1" or "2".
Because the column is TEXT data type, 1 and 2 in the column are also TEXT. So, I think, writing in a way of "1" or "2" (inside double quotation mark) might work for your case.
Thanks.
Hi Jihwan_Kim ,
Thank you. I figured that out as well 🙂 I did delete this message but it's not gone. Well I think I leave it here anyway, it may help others some way. Thanks again.