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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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")
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |