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
dpenny
Helper II
Helper II

how to edit an existing calc'd column ??

I've added a simple calc'd column to my dataset/model. It works fine.

 

Now I want to edit it (I mean change the formula for the calc'd column).

 

I cant find it in the BI UI, and Google is no help.  There is one google entry, it says

"select the column" and then use the "formula bar" to edit the calculation.

 

OK - that makes sense, but, no formula bar shows up when I click on the col.

 

What am I doing wrong? Why is this so hard?

2 ACCEPTED SOLUTIONS
KHorseman
Community Champion
Community Champion

Did you add this column in the query editor using the power query language, or in the table editor using DAX? Also, you're in the desktop program not on the web service, right?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

alanhodgson
Solution Supplier
Solution Supplier

Hey @dpenny,

 

If you are working in PBI Desktop, enter the Data editor view and select the column you want to cahnge (make sure it has the calculated column symbol next to it). When you select the column, a formula bar should drop down on top with the existing formula(see screenshot). When you are done with your changes, just hit Enter and it should execute the formula.

 

BI5.PNG

 

Hope this helps,

 

Alan

View solution in original post

5 REPLIES 5
alanhodgson
Solution Supplier
Solution Supplier

Hey @dpenny,

 

If you are working in PBI Desktop, enter the Data editor view and select the column you want to cahnge (make sure it has the calculated column symbol next to it). When you select the column, a formula bar should drop down on top with the existing formula(see screenshot). When you are done with your changes, just hit Enter and it should execute the formula.

 

BI5.PNG

 

Hope this helps,

 

Alan

Alan - thanks it does.

 

I never got the calcd col symbol/icon cause my 1st created calc col was done w query editor.

Subsequent calc cols were done in data view.

 

What a pain.  No amount of googling did any good either.

 

THX again.

 

dpenny

KHorseman
Community Champion
Community Champion

Did you add this column in the query editor using the power query language, or in the table editor using DAX? Also, you're in the desktop program not on the web service, right?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Ahhh, so that's the clue !!!!!

 

I have created calcd cols two ways

with query editor

in data view .

 

and now I understand why I never got a formula bar.

 

Thanks.

 

BTW - is this written up anywhere? I could not find it w google or in any of the Power BI tutors put out.

@dpenny,

 

Glad you figured it out! I don't think anything is written about "Changing Calculated Column", but I did find a few articles about creating calculated columns. The one here seems to be the closest to showing the whole formula bar situation in PBI Desktop.

 

Best,

 

Alan

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.