Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I whish to convert a column of text into numbers. The text in the column is either <Active>, <Completed> or <Cannceled>. I want <Active> to have the value 1, <Completed> to have the value 2 and so on.
In advance, thank you!
Solved! Go to Solution.
StatusCode =
SWITCH ( Test[Status],
"Active", 1,
"Canceled", 2,
"Completed", 3
)
StatusCode =
SWITCH ( Test[Status],
"Active", 1,
"Canceled", 2,
"Completed", 3
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
25 | |
20 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |