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
Hi Everyone,
I have some data that looks like the image below (the first two columns), and I am trying to create the rightmost column highlighed in green so that I can graph it out:
I've tried:
NEW COLUMN = if(values(Table[Y/N?] = "N", "N", values(Table[If Y, Type?]))
Solved! Go to Solution.
If you're getting that error message, it means you're creating a measure not a column. Either that or you're referencing a column from a different table. from the one where you're entering the new column.
Proud to be a Super User!
try this
NEW COLUMN = if(Table[Y/N?] = "N", "N", Table[If Y, Type?])
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi,
Thanks for the quick reply. Unfortunately, it does not let me do that. After the IF(, I can only enter other calculated measures and do not have the option of entering the Table[ColumnName], and when I do it manually, I get an error that says:
A single value for column 'Y/N?' in table 'Table' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.
Are you adding this new field column or measure? From the name of your new field name, I thought you are adding new column.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
If you're getting that error message, it means you're creating a measure not a column. Either that or you're referencing a column from a different table. from the one where you're entering the new column.
Proud to be a Super User!
Turns out I was creating a Calculated Column in a different table than where I wanted to put the column - Thanks so much!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |