Forum Discussion
Giving a value to a word
- 3 years ago
Did you try to add a new column or a measure?
test this for adding a new column with DAX:
New Column =
SWITCH([column 1],
"APPROVED ",1,
"NOT APPROVED",2,
"IN PROGRESS",3
)If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Hi Anonymous
Try this to add a new column:
New Column =
SWITCH(EARLIER([column 1]),
"APPROVED ",1,
"NOT APPROVED",2,
"IN PROGRESS",3
)
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn | Twitter | Blog | YouTube
- Anonymous3 years agoNot applicable
VahidDM That doesn't seem to work. It doesn't allow me to enter column 1 after EARLIER
- VahidDM3 years ago
Super User
Did you try to add a new column or a measure?
test this for adding a new column with DAX:
New Column =
SWITCH([column 1],
"APPROVED ",1,
"NOT APPROVED",2,
"IN PROGRESS",3
)If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!