Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I have a excel file from where I need to get data. The problem is the values in the excel file are formulas, and I dont want to do a paste special everytime while importing to truly make this automated. Is there a way around this?
Thanks
Mandar
Solved! Go to Solution.
Yes, there is a way to get the calculated values instead of the formulas while importing data from an Excel file in Power Query.
When importing data from Excel, Power Query has an option to load the data as a connection only, which means it will not load the data into the worksheet, but only create a connection to the data source.
To load the calculated values instead of the formulas, follow these steps:
By using the "Replace Values" feature to replace "=" with blank, Power Query will treat the values in the selected columns as static, calculated values instead of formulas. This will allow you to import the data with the calculated values, without having to do a paste special every time.
Yes, there is a way to get the calculated values instead of the formulas while importing data from an Excel file in Power Query.
When importing data from Excel, Power Query has an option to load the data as a connection only, which means it will not load the data into the worksheet, but only create a connection to the data source.
To load the calculated values instead of the formulas, follow these steps:
By using the "Replace Values" feature to replace "=" with blank, Power Query will treat the values in the selected columns as static, calculated values instead of formulas. This will allow you to import the data with the calculated values, without having to do a paste special every time.
Awesome! thanks so much!! 🙂
PQ gets only the values from Excel files. Whether formula is present or not, it is immaterial to it.
Hi, if you want to get the result of your formula you don't need to do paste special because during get data you loose the formula and achieve the result.
User | Count |
---|---|
9 | |
8 | |
6 | |
6 | |
6 |