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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
annbr
Frequent Visitor

How to Create a Conditional Column based on a Calculated Column?

I am new to Power BI.  I want to create a conditional column based on the results of a calculated column.  I created the calculated column in Table View, as that seemed the best place to do this, but I now realize that the conditional column must be created in Power Query Editor, where the calculated column doesn't show up.  Is there a way to bring a calculated column into Power Query Editor for this purpose or must I recreate the calculated column in Power Query (not sure how). And if I recreate, will the duplication cause problems?

1 ACCEPTED SOLUTION
Bifinity_75
Solution Sage
Solution Sage

Hi @annbr , you can't take a calculated column to power query.
Depending on what you want to do, you must choose between calculated columns or custom column (Power query). Another thing, the column names cannot match (your question for duplication).
If you have any other questions, I will be happy to answer you.

 

Best regards

 

View solution in original post

2 REPLIES 2
annbr
Frequent Visitor

Hi Bifinity_75,

Belated thank you for your response and guidance.  I did find a way in Power Query, by creating a conditional column, to replicate the information I was trying to include via a calculated column - and I was careful to use slightly different column names to avoid the duplication issue.  I appreciate your time and assistance.

 

Bifinity_75
Solution Sage
Solution Sage

Hi @annbr , you can't take a calculated column to power query.
Depending on what you want to do, you must choose between calculated columns or custom column (Power query). Another thing, the column names cannot match (your question for duplication).
If you have any other questions, I will be happy to answer you.

 

Best regards

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.