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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Power Query JOIN vs LookUpValue / Calculated Column DAX

Hello Community,

 

I want to implement a Slowly Changing Dimension (SCD) table to a data model with several large fact tables.

For this I need the surrogate key to be in all fact tables. What is the best way to achieve this?

I have tried joining the scd table in all fact tables in power query but this is painfully slow.

An other option is to use Lookupvalue but I need to filter by more than one "key" fur the surrogate, so I will do a calculated column with a filter on the scd table.

What do you recomend performance wise?

 

Greeetings

 

 

1 ACCEPTED SOLUTION
v-robertq-msft
Community Support
Community Support

Hi, @Anonymous 

As far as I am concerned, using LookUpValue or calculated columns in the Power BI is not a good way to achieve this. Because it will take up memory in the dataset and consume a lot of resources when the dataset refreshed in the service.

As a result, finishing the operations in the data source can be the best choice if it’s possible, If not, you can try to achieve this in the Power query, it can also avoid a lot of resource consumption.

 

Comparing DAX calculated columns with Power Query computed columns

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-robertq-msft
Community Support
Community Support

Hi, @Anonymous 

As far as I am concerned, using LookUpValue or calculated columns in the Power BI is not a good way to achieve this. Because it will take up memory in the dataset and consume a lot of resources when the dataset refreshed in the service.

As a result, finishing the operations in the data source can be the best choice if it’s possible, If not, you can try to achieve this in the Power query, it can also avoid a lot of resource consumption.

 

Comparing DAX calculated columns with Power Query computed columns

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mhossain
Solution Sage
Solution Sage

@Anonymous 

 

If your source is relational DB, you can do these steps in source will be better. If not an option, then powerquery is better option I think in your case, however it will be slow if many merges and huge datasets.

From which source your getting data into your powerbi?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors