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
Ramh84
Frequent Visitor

How Do I Evaluate The Result of a Conditional Column Equation in Power Query

Good day Team,

 

In Power Query, I have created a conditional column that checks if a column contains one of certain kewords.

 

If one of the conditions is met, it should return 1.

 

It is very simple, as it sounds, and it was working properly. 

 

Not until I have come across one of the results that should NOT be filled with 1 since none of the conditions were met when I check them physically. 

 

So, my question is how do I trace/evaluate what had happened so that I had such wierd result. 

 

Is there any specific tool that will highlight what the conditional column had found to return 1 to that column?

I will really appreciate it if you can share with me your experience/ any hint to pin point the root cause.

Thanks

1 REPLY 1
BA_Pete
Super User
Super User

Hi @Ramh84 ,

 

Most of us on here are human M error-checkers.

If you post an example of the data that the conditional column is evaluating, with both correct/incorrect columns and outputs and also the calculation code from your column, we should be able to sort for you.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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.