Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric certified for FREE! Don't miss your chance! Learn more
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")
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 59 | |
| 44 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 104 | |
| 102 | |
| 37 | |
| 26 | |
| 26 |