Im working towards creating a calculated column that should contain an integer value specified by me if the criteria is met. So, from a single table, I want to check values of few columns, if the values that i specify are present in those column then the custom column should return an integer value specified by me. For example
Column A, Column B, Column C
arizona, 3, 3109
colorado,4, 2353
.
.
.
california,23, 6978
I want to create a custom column in such a way that if column a='california' && column b='3' && column c= '3109' then 7 elseif column a='california' && column b='5' && column c='3109' then 8 elseif and so on.
I have tried all the possible functions in PowerBi but it is not giving the desired output.
any kind of lead will be appreciated.
Thanks