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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sfmike99
Advocate II
Advocate II

How to get back to Query Editor after adding custom column?

I add a custom column in Power Query using Query Editor. This is a conditional column. However when I go back to edit it, it opens the conditional column guide (below) instead of the editor. How can I get back to Query Editor to make changes?

 

Thanks for any suggestions! 

 

sfmike99_0-1610495210815.png

 

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@sfmike99 
Because you have used if function in the formula, which is recognized as a condition column by default. In this case, you can edit the formula in the formula far or in the advanced editor.

V-pazhen-msft_0-1610696653806.png

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
akasht0110
New Member

Here's what I have as a workaround for your problem.

 

Original formula as below and it will not take me to the custom column editor window if I have any changes.

akasht0110_0-1697743846241.png

 

For the time being, I change the else output. 

akasht0110_1-1697744038286.png

 

I just added "1 & ", which I will remove once I go to the editor window.

And now it takes me to the Custom Column editor as I wanted.

akasht0110_2-1697744189737.png

Please let me know if you have any other solution.

 

V-pazhen-msft
Community Support
Community Support

@sfmike99 
Because you have used if function in the formula, which is recognized as a condition column by default. In this case, you can edit the formula in the formula far or in the advanced editor.

V-pazhen-msft_0-1610696653806.png

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

sfmike99
Advocate II
Advocate II

No I created it using "Add Column-Custom Column" which puts me into the Query Editor. When I click on it next time to edit, it takes me into the "Add Conditional Column" tool which I don't want. Here's how to reproduce:

Create a custom column like "if [Index] = 1 then [Index] else [Value]"
Save it and then clidk on the gear icon.

 

It takes me into the Conditional Column helper and I can't get back to the Query Editor. 

 

mahoneypat
Employee
Employee

Did you make that step using the filter pull down on that column?  In any case, you can get to the M code either in the Formula Bar or the Advanced Editor.  You can also pull down the same arrow on that column and modify that step that way too.

 

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


The issue is when clicking on the gear the condition editor window starts to open (youc an see the frame of the popup box) but it is transparent and now the application is stuck.  Clicking anywhere causes a "ding" sound.  I can work outside of excel/powerquery but not inside.  No options to cancel/close.  Only can kill the process.  Any ideas?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors