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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Szokens
Helper I
Helper I

Switch datasource from Merged Query to Semantic Model

Hi,

I have build my report basing on MergedQuery and all DAX calculations are under this query too.

However Refreshing datasource through import mode takes hours (same source in other BI tool refreshes in 3 minutes in import mode). 

I had to try to prepare semantic model to check whether it performs better.

1) I am wondering whether is it possible to move all my dax calcs to this model in automated way somehow or I need to manually copy and paste?

2) Is it possible to switch somehow source of my report from Merged Query to Semantic Model after achieving 1)?

 

Thanks!

7 REPLIES 7
lbendlin
Super User
Super User

What is MergedQuery?  Are you talking about normalization (ie separating dimension tables from fact tables) ?

sorry for confusion, I have 5 input tables, I have merged them in Power Query using joins to new "Merged Query" table. 

Avoid merges in Power Query as much as possible.  Let the data model do the work for you.

lkalawski
Super User
Super User

Hi @Szokens ,

 

If the table structure is the same, you can use Tabular Editor to copy measures from one place to another or use the ALM Toolkit.

Tutorial: https://community.fabric.microsoft.com/t5/Community-Blog/Power-BI-gt-How-to-easily-copy-Measures-fro...

 

PBI_SuperUser_Rank@1x.pngResident Rockstar | Former Super User
If I helped, please accept the solution and give kudos! 
Connect with me
Linkedin

 

Hi @lkalawski ,

Thanks! This tool looks really nice, however my company doesn't allow me to download any external tools (download is automatically blocked).

is ALM Toolkit also external?

@Szokens , Yes, I have not heard of a portable version for ALM Toolkit.

But if you are moving measures that use one Merged table to a semantic model, you will probably still have to update the measure definitions and apply them to the appropriate tables.

So you won't avoid manual work, unfortunately.

 

PBI_SuperUser_Rank@1x.pngResident Rockstar | Former Super User
If I helped, please accept the solution and give kudos! 
Connect with me
Linkedin

 

That is right, I have learned so fat that DAX formulas used in merged queries shall to be re-written to capture proper logic when moving to semantic model anyway.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.