Forum Discussion
Using a column based on language
- 4 years ago
Hi jochemd96 ,
You can use a measure like this:
Measure = IF ( SELECTEDVALUE ( 'Talen'[Taal] ) = "Nederlands", MAX ( 'Display'[DisplayOmschrijving] ), MAX ( 'Display'[DisplayDescription] ) )Then put the column Index and this measure into a visual, it works.
Here's the difference of calculated column and measure:
https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/
Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jochemd96 Columns are not dynamic based on user input but are only calculated during load/refresh. I wrote an entire blog series on multi-language support here:
https://community.powerbi.com/t5/Community-Blog/Localizing-the-Data-Model-Part-1/ba-p/2062997
https://community.powerbi.com/t5/Community-Blog/Localizing-the-Data-Model-Part-2/ba-p/2065547
https://community.powerbi.com/t5/Community-Blog/Localizing-the-Data-Model-Part-3/ba-p/2071522
https://community.powerbi.com/t5/Community-Blog/Localizing-the-Data-Model-Part-4/ba-p/2095284
- jochemd964 years agoFrequent Visitor
Thanks, I already suspected such thing. What do you suggest to solve this problem?