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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Aaron_C
Frequent Visitor

Adding a measure to multiple models simultaneously

Hi all,

I cannot find a solution online that will allow me to add a measure to two or more models simultaneously, whether it be locally on your machine, or in service.

Is there a tool for this out there currently?

It seems quite similar to the functionality Measure Killer provides, except I need to add multiple measures instead of removing them.

Help appreciated!

Kind regards,
Aaron

4 REPLIES 4
Aaron_C
Frequent Visitor

Thank you Marius, I will have to test this out!

-Aaron

Anonymous
Not applicable

Hi @Aaron_C ,

Base on my research, there is no direct method to add a measure to multiple models at the same time directly. Each Power BI model is separate, and measures must be added to each model individually. However, please check if tabular editor can be used as alternative. You can write scripts to create and add measures across different models.

Tabular Editor 3

C# Scripts | Tabular Editor Documentation

Adding measures and other calculated objects | Tabular Editor Documentation

vyiruanmsft_0-1723795449072.png

Best Regards

Thank you @Anonymous , I have a Tabular Editor script that can add multiple measures to a model, on a model by model basis, have not yet found a way to do it for multiple models, as these are standard measures.

Doesn't seem to be an out-of-the-box solution that I have come across!

mariussve1
Solution Sage
Solution Sage

Hi,

It looks like its possible to connect to Power BI with XMLA through Powershell:

https://audministrator.wordpress.com/2021/07/08/powershell-powerbi-xmla-endpoint-examples/

Then it should be pretty easy to create a script for creating measures across datasets


Br
Marius
BI Fabrikken
www.bifabrikken.no

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors