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
Anonymous
Not applicable

Easy way to move measure

I have created many measures in a query.  I identified that the query is not necessary and the measure can be written in another existing query so I would like to delete the query but first I need to relocate the measures.  

 

Is there an easy way to move a measure from one query to another other than individually copying/pasting the measure string?

 

7 REPLIES 7
Syndicate_Admin
Administrator
Administrator

It is possible to do it!! Go to the "model" tab on the left side

ericapaixxao_0-1669895447986.png

In that tab you can select the measurements you want to move

ericapaixxao_1-1669895533294.png

Next to it, in the "properties" tab switch to the table you want to be the measurements

ericapaixxao_2-1669895579638.png

And that's it 🙂

Of course, the measurement fields should be in the other data set as well, otherwise you will get an error.

Hope I helped 🙂

Anonymous
Not applicable

The latest version of PBI desktop includes a feature in the modeling tool to move measures. It works pretty well, but takes a while if you have a lot of measures. I tested this new feature in desktop, but when I went to connect an existing report to the test dataset, all of the visuals displayed errors saying that the measure can't be found. I thought since measures didn't explicitly reference the table like columns do, that this would not be an issue. Has anyone else tried this?

Anonymous
Not applicable

I found the solution and it is oh so easy.  Changed my world haha

 

https://radacad.com/move-measures-to-another-table-in-power-bi

 Click on the measure, go to the "Measure tools" ribbon and change the Home table on the left of the top navigation.

 

Move measure.PNG

 

 

Thank you. You're the only person to post a valid solution!

nandukrishnavs
Community Champion
Community Champion

@amitchandak 

 

Use the Tabular Editor tool. https://tabulareditor.com/

Then follow the below steps.

 

Open your pbix file and then open the tabular editor. File ==> Open ==> From DB ==> Local instance

In the below screenshot, I have two tables. Table 1 contains 4 measures. 

table1.JPG

Now I'm going to copy all the measures into Table 2 

For that ctrl+click all the measures

aq.JPG

Then drag into Table 2

Capture.JPGCapture.JPG

Then click save

1.JPG

Now go-to Power BI desktop and click the refresh button.

 

Note: Make sure you have backup file before testing this.



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂

 

 


Regards,
Nandu Krishna

amitchandak
Super User
Super User

@alicia_pbi, I doubt it now. There's an idea for that. Vote for that.

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/36031837-move-measures-between-ta...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
amitchandak
Super User
Super User

@Anonymous , I doubt it possible now. There is an idea for that. Vote for that

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/36031837-move-measures-between-tables-in-new-modelling-view

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.