This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
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.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.