Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
In data.country column I have full Country names (like Turkey) and country codes (like TR)
Because the data comes from various sources. My task is to display only the names of countries in a new column, without country codes, i.e. Turkey's country code TR would change to Turkey- country name in the new column. I think it should be done through DAX functions.
Thank you
Solved! Go to Solution.
Hi, @Talgat2050
If you have build a bidirectional relationship between two tables based on field "Country code", then you can consider using the following formula to create a calculated column.
Country Name = RELATED(Table1[Country names])
If I misunderstood, please share the sample to explain further.
Best Regards,
Community Support Team _ Eason
Hi, @Talgat2050
If you have build a bidirectional relationship between two tables based on field "Country code", then you can consider using the following formula to create a calculated column.
Country Name = RELATED(Table1[Country names])
If I misunderstood, please share the sample to explain further.
Best Regards,
Community Support Team _ Eason
Hi,
Share some data and show the expected result.
User | Count |
---|---|
131 | |
71 | |
70 | |
58 | |
54 |
User | Count |
---|---|
194 | |
95 | |
65 | |
62 | |
53 |