Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
fabricbeta007
Regular Visitor

Multilingual Report

Hello ,

I have a following tables as showed:

 

 

ModellingModellingRegion tableRegion tableLanguage tableLanguage tableScreenshot 2024-07-09 at 18.43.34.pngPRODUCT ,SALES TABLEPRODUCT ,SALES TABLE

I have a following task to perform:

 

  1. Multilingual Report: o Add a slicer/filter to allow users to select their preferred language (e.g., English, German).
  2. Use DAX to create measures that dynamically change based on the selected language.

Can someone help me on this please ? I tried to add visual card but it showing blank value

1 REPLY 1
Anonymous
Not applicable

Hi @fabricbeta007 ,

Based on the description, drag the language column into the slicer visual.

vjiewumsft_0-1720598197143.png

 

Then, create the measure to filter the language.

Measure = 
var _langu = SELECTEDVALUE('Language'[Languages])
RETURN
SWITCH(
    TRUE(),
    _langu = "English", 1,
    _langu = "German", 2
)

You can also view the following document to learn more information.

Solved: DAX SWITCH + SELECTEDVALUE() - Microsoft Fabric Community

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.