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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
mohsin-raza
Helper III
Helper III

Lookupvalue in excel and uppdating in PowerBI

I have excel workbook having lookupvalues from another workbook.

It takes lot of time in refreshing.

how can we minimized this effect during uppdating in powerbi especialy when file is store in Sharepoint? 

1 ACCEPTED SOLUTION
edhans
Super User
Super User

@mohsin-raza - you are going to have to be more specific in what you are referring to here. LOOKUPVALUES() in Power BI cannot look up data in a workbook, only a table that is loaded in the model. LOOKUPVALUES will not impact the refresh unless you used it in a calculated column, and you should avoid them. Do a Merge in Power Query instead. Don't treat Power BI like it is Excel. It isn't, and doing an equivalent to a VLOOKUP will not perform well. The worst thing you can do for your models is treat that data grid in Power BI like a spreadsheet. It most definitely is not that.

 

For merging in Power Query, see this article. That is for Excel's Power Query, but Power BI is the same.

 

In general, try to avoid calculated columns. There are times to use them, but it is rare. Getting data out of the source system, creating columns in Power Query, or DAX Measures are usually preferred to calculated columns. See these references:
Calculated Columns vs Measures in DAX
Calculated Columns and Measures in DAX
Storage differences between calculated columns and calculated tables
SQLBI Video on Measures vs Calculated Columns



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @mohsin-raza ,

 

There‘s an article about optimized refresh

Speed Up Data Refresh Performance In Power BI Desktop Using Table.View

 

 

Best Regards,

Stephen Tao

 

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

edhans
Super User
Super User

@mohsin-raza - you are going to have to be more specific in what you are referring to here. LOOKUPVALUES() in Power BI cannot look up data in a workbook, only a table that is loaded in the model. LOOKUPVALUES will not impact the refresh unless you used it in a calculated column, and you should avoid them. Do a Merge in Power Query instead. Don't treat Power BI like it is Excel. It isn't, and doing an equivalent to a VLOOKUP will not perform well. The worst thing you can do for your models is treat that data grid in Power BI like a spreadsheet. It most definitely is not that.

 

For merging in Power Query, see this article. That is for Excel's Power Query, but Power BI is the same.

 

In general, try to avoid calculated columns. There are times to use them, but it is rare. Getting data out of the source system, creating columns in Power Query, or DAX Measures are usually preferred to calculated columns. See these references:
Calculated Columns vs Measures in DAX
Calculated Columns and Measures in DAX
Storage differences between calculated columns and calculated tables
SQLBI Video on Measures vs Calculated Columns



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors
Top Kudoed Authors