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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
gtamir
Post Patron
Post Patron

Filter multiple columns with query editor new column

Hi, I am trying to create a new custom column with two conditions and the result is always FALSE. Even tried on one specific row.

Any idea? Thanks

ScreenHunter_006.jpg

1 ACCEPTED SOLUTION

@amitchandak I found the problem. I cleaned and Trimmed after the step of the column creation. I wrongly thought it will affect the new column.

I moved this step to the bottom and it works now. Thanks. 

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

I tried on my system similar stuff and it worked. Just check that text value does not have any trailing space

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

@amitchandak I Trimed and Cleaned but still False.

Can you share sample data? If possible please share a sample pbix file after removing sensitive information.Thanks.

My Recent Blog -

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

@amitchandak I found the problem. I cleaned and Trimmed after the step of the column creation. I wrongly thought it will affect the new column.

I moved this step to the bottom and it works now. Thanks. 

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.