Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Merging Tables Efficiency Question

$
0
0

PowerBI SuperUsers,

 

I have a PowerBI filw with two tables pulled from SQL

 

1) Sales Table

2) Product Table

 

I"m trying to figure out the most efficient way to merch 2 columns from the product table to the sales table (Brand & Category).   While i hve no problem using relationships and multipple different tables, my users get really confused so I figured for this report it would be easier to just merge / add those the Brand & Categories into my sales table. it takes FOREVER to make simple changes in query editor and and even LONGER to load once I appply the "changes".

 

I added the columns using the Merge function and set the properties of the table I no longer need (the one with Brand and Category) to not load into the report. 

 

 

I have also done it in DAX and it is significanlty faster, so yes i can do it in DAX but I'm really lost why using the merge in the

query editor seriously messes up the pefromance. 

 

Does anyone know why this is?  Any suggestions on the optimal method for using a "vlookup" type function to add Brand and Cateogrory to the sales table?

 

Thanks!

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>