This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
I am loading my data directly from Oracle Database. I have a column called Gender which takes values 'M' and 'F'. However, I want to change all M to Male and F to Female without creating any additional column for gender.
How can this be done? Thank you!
Solved! Go to Solution.
Hi @Anonymous,
To clarify, do you mean Import or actual DirectQuery?
If you're using Import, just Replace Values in Query Editor to change M to "Male" and F to "Female."
Hi @Anonymous,
To clarify, do you mean Import or actual DirectQuery?
If you're using Import, just Replace Values in Query Editor to change M to "Male" and F to "Female."
@RMDNA Hey this worked. I also created a column with examples and deleted the original column
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 44 | |
| 36 | |
| 23 | |
| 20 | |
| 20 |