You need to provide the full path to the output file when saving, instead of only the file name. If your %CurrentItem% targets a file stored in, e.g. "C:\RPA\Files\test.xls", then %CurrentItem.NameWithoutExtension% will only contain "test". Instead, you should use %CurrentItem.Directory%\%CurrentItem.NameWithoutExtension% to include the full path, except for the file extension.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.