Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi
I have a table with short names like "ASIF" "FASC" etc.
I need to rename all of them like "ASIF" to "Artificial" and "FASC" to "Fashion" etc.
I know I can do that easly in query editor but then I will break my data folding, I need to do this with a measure or new column without using query editor ( inside the left "Data" button ).
I have googled it but none answer what I really need.
Solved! Go to Solution.
@Anonymous , Power Query, or new column DAX are two options
example
In DAX
Switch( [Col1]
"ASIF" , "Artificial" ,
"FASC" , "Fashion",
"Other"
)
@Anonymous , Power Query, or new column DAX are two options
example
In DAX
Switch( [Col1]
"ASIF" , "Artificial" ,
"FASC" , "Fashion",
"Other"
)
Works perfectly, thank you.
| User | Count |
|---|---|
| 55 | |
| 42 | |
| 28 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 74 | |
| 63 | |
| 40 | |
| 23 | |
| 22 |