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

You seriously can't copy the DAX formula bar?!?

I need to copy copy a calculated table to a new one.  I want to save the old calculated table.  The "obvious" thing to do is to bring up the calculated table and then copy and edit it under a new name.  But I can't copy or paste in the DAX command box.  Copying the table copies all the data in the table.

 

Why? 

1 ACCEPTED SOLUTION
MattAllington
Community Champion
Community Champion

You can, but there is a bug. The easiest way to make it work every time is to click once in the formula bar, then press control + a, and then copy from there



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

View solution in original post

3 REPLIES 3
MattAllington
Community Champion
Community Champion

You can, but there is a bug. The easiest way to make it work every time is to click once in the formula bar, then press control + a, and then copy from there



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

I just discovered that!  I used CTL-C to copy and it copied.  For whatever reason -- might have been my keyboard -- it had not happened the first time I tried.  A context menu option with a right-click would be nice as well. 

 

Out of curiosity, is there a way to import a DAX script from a text file?

 

There is a bug with the mouse cursor. If you click and drag your mouse in the formula bar, as long as you release the mouse while the pointer is still in the formula bar, it will work. If you release your mouse while the pointer is not inside the formula bar, it doesn't work. 

it is possible to import tax formulas using tabular editor, but it is not a trivial task. Look at my blog articles here https://exceleratorbi.com.au/introduction-to-tabular-editor-for-business-users/



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

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.