Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 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.
I have a table "tableA" Within this table I have a column source with "Y" and "N" values.
I need to create a Measure (not calcuated column) to create a mapping.
Y = Yes
N = No.
I'm trying the switch statement but my column does not show.
switch(tableaA.source,"Y","Yes", "No"). What am I doing wrong?
Solved! Go to Solution.
@SirBI , In case of measure you can use aggregated columns
example
switch(Max(tableaA[source]),
"Y","Yes",
"No")
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
81 | |
52 | |
39 | |
35 |
User | Count |
---|---|
95 | |
79 | |
52 | |
49 | |
47 |