Created attachment 191591 [details] Power query XLSX MSO supports Power Query [1]. Example of XLSX with Power Query set is attached, taken from [2]. When such XLSX is resaved in LO, MSO does not recognize query. So it is data loss. If data od query is not changed, LO should keep it so that MSO opens it. https://support.microsoft.com/en-us/office/about-power-query-in-excel-7104fbee-9e62-4cb9-a02e-5bfb1a6c536a https://www.ablebits.com/office-addins-blog/how-to-use-power-query-excel/
As Calc does not have it implemented, it is probably not even imported. But you are right that it would be nice if it was preserved when opening/saving. It seems to me more like a request for enhancement than a bug. +1
Created attachment 192173 [details] xlsx file original (excel) original file with power query on Win10 / Excel.
Created attachment 192174 [details] xlsx file saved in calc xlsx file that saved in calc then opened in excel. Power query is not recognized. There is nothing under the 'Queries & Connections' tab.
164290: (WIP) tdf#158857: Keep Power Query when saving XLSX | https://gerrit.libreoffice.org/c/core/+/164290
Bayram Çiçek committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/045ebdb369ab21a3be7a32dc1c85ad2243eb9129 tdf#158857: [Power Query] export connections.xml It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Bayram Çiçek committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/f91d74da5571b877126f4f753c4134054fa606bb tdf#158857: [Power Query] export xl/drawings/drawing*.xml It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.