Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Column Name Issue

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 

1 ACCEPTED SOLUTION
themistoklis
Community Champion
Community Champion

@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")

View solution in original post

2 REPLIES 2
themistoklis
Community Champion
Community Champion

@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")

mh2587
Super User
Super User

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!




LinkedIn Icon
Muhammad Hasnain



Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.