Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I am re-building Data Model in Power BI Desktop
I have [City] text type field, in ClientsDetails table (8K records), like this:
After I'll create a dimension table:
City
city_id city_name
1 Mt View
2 San Jose
3 Santa Barbara
4 Redwood City
5 South San Francisco
I will need to rename [city] to [city_id] and replace text values to numeric in the ClientDetails table, as
city
2
3
1
4
5
2
2
Is there any way to do this in Power BI Desktop?
Creating a new [city_id] column, perhaps? Using DAX language?
Please, advice!
Thanks, as always
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 |