Skip to main content
Microsoft Idea

Power BI

Needs Votes

move measures to new table

Vote (58) Share
Kristinn Thor Sigurjonsson's profile image

Kristinn Thor Sigurjonsson on 29 Jun 2017 20:00:22

I am restructuring a report that consist of 20 tables (and measure groups) I need to create new tables and move existing measures to that new table - essentially creating a measure group with measures that relate to each other.

Now I can do this by copying the measure formula, delete the old and paste as a new measure in the new table. Then I need to find all visuals where the measure was used and fix that - this can be done more efficiently.

I would like to be able to move a measure from one table to another - dag between tables or click "Move" and select a new location.

Comments (7)
Kristinn Thor Sigurjonsson's profile image Profile Picture

Nicolette Izquierdo on 05 Jul 2020 23:53:23

RE: move measures to new table

Hi! Changing the home table of a measure by selecting the measure and going to the Modeling tab and changing the Home Table to the appropriate table is not working for me on a live data connection. It worked when I was linked to a static Excel data source. Is there a workaround for when you are connecting to a live data source, say via azure / Sql? I made a copy of a previous, nearly identical file and am hoping to avoid having to go through and make copies of each individual measure, when the changes are so minimal, and I can just move them underneath the correct table in my fields. Any info is appreciated!

**perhaps there is another reason outside of the data source for why this does not work for me, so any ideas welcome!**

Thanks!

Kristinn Thor Sigurjonsson's profile image Profile Picture

Vivian on 05 Jul 2020 23:42:54

RE: move measures to new table

'@Mohammad AI-Salman Thank you. It works perfect!

Kristinn Thor Sigurjonsson's profile image Profile Picture

Power BI User on 05 Jul 2020 23:39:39

RE: move measures to new table

Yeah - you can go through the maddening process of moving each measure individually, but what is lacking here (and is the point of "efficiency" in Kristinn's suggestion) is a quick way to move multiple measures at once.

Kristinn Thor Sigurjonsson's profile image Profile Picture

Mohammad Al-Salman on 05 Jul 2020 23:37:23

RE: move measures to new table

it is already there ...
https://www.wiseowl.co.uk/blog/s2537/move-measure.htm

Kristinn Thor Sigurjonsson's profile image Profile Picture

Power BI User on 05 Jul 2020 23:36:02

RE: move measures to new table

This is the basic feature that every application should have. Pls add it in next release

Kristinn Thor Sigurjonsson's profile image Profile Picture

Phil Curtis on 05 Jul 2020 23:32:13

RE: move measures to new table

Great tip @John Schown - works a treat and solves practically all this request. Even if the charts break, you can update the formula (ie probably has old table name referenced) and the charts works again! Auto updating any old table names inside formulas is unfeasible I believe, as PowerBI can't always be sure of new one.

Kristinn Thor Sigurjonsson's profile image Profile Picture

John Schown on 05 Jul 2020 23:09:37

RE: move measures to new table

You can change the home table of a measure by selecting the measure and going to the Modeling tab and change the Home Table to the appropriate table.