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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@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...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.