Forum Discussion
column dynamic language translation
- 5 years ago
Hi Anonymous ,
If you want to use DAX function to achieve it, you need to create a Table including different months from different regions, and a Germany month column like this:
Then you can create a calculated column in the source table to 'translate' the month column:
Germany month translation = IF ( 'Table'[Month] IN DISTINCT ( 'Month'[Germany month] ), [Month], LOOKUPVALUE ( 'Month'[Germany month], 'Month'[Month], 'Table'[Month] ) )Attached a sample file in the below, hopes to help you.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Unfortunately, there is no option or function in DAX to perform the translation as you desire but, you can try the Run Python Script option in Power Query under the transform tab to incorporate your Python code for translation.
________________________
If my answer was helpful, please click Accept it as the solution to help other members find it useful
Click on the Thumbs-Up icon if you like this reply š