Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello ,
I have a following tables as showed:
Modelling
Region table
Language table
PRODUCT ,SALES TABLE
I have a following task to perform:
Can someone help me on this please ? I tried to add visual card but it showing blank value
Hi @fabricbeta007 ,
Based on the description, drag the language column into the slicer visual.
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.
User | Count |
---|---|
25 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
9 | |
7 |