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 wanted to create a simple logic where i am just using "If" condition but after this its now showing or allwoing me to take any column name from the table.
For Example -
Table Name is "Details_Table" & Column name is "Country"
Now i want to show "Yes" text if country name is America
Solved! Go to Solution.
@Anonymous
Probably it is happening because you are trying to create a New Measure and not a New Column.
Try the following formula
New Column = IF (Details_Table[Country] = "America", "Yes", "No")
@Anonymous
Probably it is happening because you are trying to create a New Measure and not a New Column.
Try the following formula
New Column = IF (Details_Table[Country] = "America", "Yes", "No")
create New column with if condition it will take the column name
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 27 |
| User | Count |
|---|---|
| 135 | |
| 102 | |
| 67 | |
| 65 | |
| 56 |